-
-
Notifications
You must be signed in to change notification settings - Fork 137
Closed
Labels
Description
The documentation states that if add_file_appender is set to false no logs will go anywhere. The implication being that a configuration like
config.rails_semantic_logger.add_file_appender = false
config.semantic_logger.add_appender(
io: STDOUT,
level: config.log_level,
formatter: :son
)
Would result in a single appender, going to standard out.
However, when using the rails server (in development, for example), a default appender is still added, so we see duplicate logs (one :json format, one :color format).
arg, Lewiscowles1986 and Ramyakvr