On Wednesday, March 19, 2014 7:55:07 AM UTC-7, Donald MacQueen wrote:
I cannot reproduce this.
What does your ini file look like?
[log4s]
debugEnabled=true
quietMode=false
globalLevel=Off
fileAppender=FileAppender, root, .\log4s.log, false, Debug, EsPatternLayout, '%d{ISO8601} [%t] [%l] [%o] %m', false,
asyncFileAppender=AsyncFileAppender, root, .\log4s.log, false, Debug, EsPatternLayout, '%d{ISO8601} [%t] [%l] [%o] %m', false, FileAppender
(and I have a separate question about how to make the async appenders work)
If I look for senders of #level:, which would be used to control what level the singleton compares against, there are four (but only three refer to the log manager class).
EsLevel class>>#level:levelStr:syslogEquivalent:
EsLoggingFrameworkApp class>>#setCurrentSettings
EsLogManager class>>#initializeSingleton
EsLogManager class>>#level:
#initializeSingleton sets level to: EsLevel All
#setCurrentSettings only sets the level if there is no valid globalLevel setting in the INI file.
Of the methods containing the string "globalLevel", the majority of them are in EsLogger which uses a local method named #globalLevel that references the singleton's level.
The remaining three methods are:
EsLoggingFrameworkApp class>>#currentSettings
EsLoggingFrameworkApp class>>#setCurrentSettings
and
EsLoggingFrameworkApp class>>#validSettings
Of these, only #setCurrentSettings affects the singleton's level, as previously mentioned.
The above information was extracted from an 8.5.2 "New Image" with no additional code loaded.
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
To post to this group, send email to
[hidden email].
Visit this group at
http://groups.google.com/group/va-smalltalk.
For more options, visit
https://groups.google.com/d/optout.