semantic_logger
semantic_logger copied to clipboard
Semantic Logger is a feature rich logging framework, and replacement for existing Ruby & Rails loggers.
### Environment Provide at least: * Ruby Version: 3.1.2 * Semantic Logger Version: 4.11.0 * Application/framework names and versions: Rails 7.0.3 * Rails Semantic Logger Version: rails_semantic_logger: 4.10.0 ### Expected...
### Environment Provide at least: * Ruby 2.7.6 * Semantic Logger Version 4.11.0 * Rails 6.1.6.1, Puma 5.6.4 * Rails Semantic Logger Version 4.10.0 * Rails configuration. Only need the...
Some objects, like hashes and arrays can be casted to valid json objects. Because of that they were not quoted correctly. ### Issue # (if available) no issue ### Changelog...
### Issue # (if available) I met ``NoMethodError: undefined method `kill' for nil:NilClass`` in `SemanticLogger.reopen`. I think [`@thread = nil`](https://github.com/reidmorrison/semantic_logger/blob/8a1650ac90db653849b3082946e02db5c8f6cdd3/lib/semantic_logger/appender/async.rb#L138) can happen between `@thread&.alive?` and `@thread.kill` of [this line](https://github.com/reidmorrison/semantic_logger/blob/8a1650ac90db653849b3082946e02db5c8f6cdd3/lib/semantic_logger/appender/async.rb#L62). ###...
### Issue - General clean-up. - Builds on top of changes made in pull request #205. ### Changelog #### Added - New unit tests that validate that the gems in...
## Expected behaviour When calling `logger.info("this message is not printed", payload: { foo: "bar" })` the message is printed. ## Actual behaviour When calling `logger.info("this message is not printed", payload:...
### Environment Provide at least: * Ruby Version. - any * Semantic Logger Version. - v4.9.0 * Application/framework names and versions (e.g. Rails, Sinatra, Puma, etc.). - Rails 6 ###...
### Issue # (if available) None ### Changelog * Added missing SyslogCee into SemanticLogger::Formatters module * Added test for SemanticLogger::Formatters::SyslogCee ### Description of changes After testing the Syslog appender I...
### Issue # (if available) https://github.com/reidmorrison/semantic_logger/issues/216 ### Changelog Updated ### Description of changes Support logging message in the format `logger.info("message", payload: { foo: "bar" })`, which stopped working in 4.11.0...
### Environment - Ruby 3.1.0 - SemanticLogger 4.10.0 ### Problem Statement #### Not Allowed with IO Appender SemanticLogger::Appender::IO seems to be a special case where you can't have two IO...