Implicit level categories logging to all appenders
In reference to this repository https://github.com/ryanalbrecht/Logbox-test
In the Requests.cfc interceptor I am injecting a logger with a category type of 'general'. I have specified the general category to be attached to an appender also named 'general'.
When I call logger.info('example text') on the logger object 'coldbox.system' categories are being logged to the 'general' appender. This is seems to be caused by having an implicit category level info = [ "coldbox.system" ] specified. Additionaly any info level logging is also appended to ALL appender that are defined.
The expected behaviour is that when calling logger.info('example text') on a logger with the 'general' category, only that is logged to the appender.
Brad Wodd suggested ‘it must be creating a logger for that category that has all appenders assigned until the rest of the config gets loaded in.’ when we were discussing the issue.
This only seems to happen when reiniting the application.