reidmorrison / rails_semantic_logger

Rails Semantic Logger replaces the Rails default logger with Semantic Logger
https://logger.rocketjob.io/rails
Apache License 2.0
330 stars 117 forks source link

Freeze semantic_logger minor version #86

Closed savin-alexey closed 5 years ago

savin-alexey commented 5 years ago

We need freeze minor version after release v4.4.0 with https://github.com/rocketjob/semantic_logger/commit/859fb1c720dfebc1519f62492ed168ce90a8711e This version uses SemanticLogger::Processor.instance instead of SemanticLogger::Logger.processor like in semantic_logger@4.4.0

reidmorrison commented 5 years ago

Pushed Gem v4.4 to address the above issue for PhusionPassenger.

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:

SemanticLogger::Processor.instance.instance_variable_set(:@queue, Queue.new)