This project adheres to Semantic Versioning.
This CHANGELOG follows the format listed here
- check-log.rb: pattern is now required via option config
- check-log.rb: update descriptions of crit and warn options
1.3.1 - 2017-10-09
- check-log.rb: added
File::TRUNC
option to the state file to address scenerios where files were written to often and rotated which caused the offset to be wrong. This caused high diskio as it was trying to seek to a part of a non existent file or past the correct location in the file. (@georgespatton)
1.3.0 - 2017-09-23
- check-log.rb:
return-error-limit
option to limit the number of returned matched lines (log entries) (@jhshadi)
1.2.1 - 2017-09-23
- ruby 2.4 testing (@majormoses)
- Fixed unhandled encoding exception when using the
log-pattern
option (@jhshadi) - PR template spelling "compatibility"
- updated CHANGELOG guidelines location (@majormoses)
1.2.0 - 2017-07-04
- Support of UTF16 encoded characters (@avoosh)
1.1.2 - 2017-05-25
- Write the state file atomically by using flock where available (@nlopes)
1.1.1 - 2017-05-21
check-log.rb
: Fix 'crit' and 'warn' flags being ignored in search_log (@avifried1)
1.1.0 - 2017-05-20
- Add
return-length
option to support custom length for returned matched lines (@jhshadi) - Add
log-pattern
option to support read and match against whole log entry instead of single line (@jhshadi)
check-log.rb
: Drop non-ASCII chars from log line (@vlinevich)check-log.rb
: Fix return content to have matched line (@saka-shin)
- Upgrade to Rubocop 0.40 and cleanup (@eheydrick)
- Ruby 2.3 support
- Ruby 2.0 and older support (@eheydrick)
- Remove dependency on the fileutils gem
- updated sensu-plugin gem to 1.2.0
- multibyte fix
- Remove JSON gem dep that is not longer needed with Ruby 1.9+
- initial release
[0.0.4]: [1.0.0]: https://github.com/sensu-plugins/sensu-plugins-logs/compare/0.0.4...1.0.0 [0.0.4]: https://github.com/sensu-plugins/sensu-plugins-logs/compare/0.0.3...0.0.4 [0.0.3]: https://github.com/sensu-plugins/sensu-plugins-logs/compare/0.0.2...0.0.3