Semantic Logger v4.9.0 Release Notes
-
- ๐ฒ Separate out File and IO log appenders.
- โ Add "log rotation" like capabilities to the File appender.
- Re-open the log file after a specified number of log entries.
- See new SemanticLogger::Appender::File option
reopen_count
. - Re-open the log file after a specified number of bytes have been written by this process.
- See new SemanticLogger::Appender::File option
reopen_size
. - New format directives so that file name dynamically includes any of the following attributes every time the log file is re-opened:
- Host name
- Process Id
- Date
- Time
- See new SemanticLogger::Appender::File argument
file_name
.
- โ Add automatic retries for the file appender when an error occurs while writing to the file.
- See new SemanticLogger::Appender::File option
retry_count
.
- See new SemanticLogger::Appender::File option
- Other options added to the file appender:
- append, exclusive_lock, encoding
- ๐ Documentation: Fix link to GitHub Actions CI configuration.
- โ Add support for logging to elastic data-streams
- ๐ Handle case when tags are passed as an array in a single argument to
SemanticLogger::Base#tagged
. - feat: Add tags to logfmt formatter output
- ๐ fix: Ensure time_key is used in logfmt formatter
โฌ๏ธ Note: See the readme for v4.9 upgrade instructions.