README.md in semantic_logger-4.4.0 vs README.md in semantic_logger-4.5.0
- old
+ new
@@ -9,10 +9,20 @@
[Semantic Logger Guide](http://rocketjob.github.io/semantic_logger)
[Reference Documentation](http://www.rubydoc.info/gems/semantic_logger/)
+## Upgrading to Semantic Logger v4.4
+
+With some forking frameworks it is necessary to call `reopen` after the fork. With v4.4 the
+workaround for Ruby 2.5 crashes is no longer needed.
+I.e. Please remove the following line if being called anywhere:
+
+~~~ruby
+SemanticLogger::Processor.instance.instance_variable_set(:@queue, Queue.new)
+~~~
+
## Logging Destinations
Logging to the following destinations are all supported "out-of-the-box":
* File
@@ -68,10 +78,10 @@
The following changes need to be made when upgrading to V4:
- Ruby V2.1 / JRuby V9.1 is now the minimum runtime version.
- Replace calls to Logger#with_payload with SemanticLogger.named_tagged.
- Replace calls to Logger#payload with SemanticLogger.named_tags.
- MongoDB Appender requires Mongo Ruby Client V2 or greater.
-- Appenders now write payload data in a seperate :payload tag instead of mixing them.
+- Appenders now write payload data in a seperate :payload tag instead of mixing them
directly into the root elements to avoid name clashes.
As a result any calls like the following:
~~~ruby