Skip to content

Commit 263e83c

Browse files
committed
logbox regression
1 parent 9b78d95 commit 263e83c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

system/logging/config/LogBoxConfig.cfc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ component accessors="true" {
103103
}
104104

105105
// Register Root Logger
106-
if ( !isNull( logBoxDSL.root ) ) {
106+
if ( isNull( logBoxDSL.root ) ) {
107107
logBoxDSL.root = { appenders : "*" };
108108
}
109109
root( argumentCollection = logBoxDSL.root );
@@ -246,15 +246,15 @@ component accessors="true" {
246246
* @properties The structure of properties to configure this appender with.
247247
* @layout The layout class path to use in this appender for custom message rendering.
248248
* @levelMin The default log level for the root logger, by default it is 0 (FATAL). Optional. ex: config.logLevels.WARN
249-
* @levelMax The default log level for the root logger, by default it is 4 (DEBUG). Optional. ex: config.logLevels.WARN
249+
* @levelMax The default log level for the root logger, by default it is 3 (INFO). Optional. ex: config.logLevels.WARN
250250
*/
251251
LogBoxConfig function appender(
252252
required name,
253253
required class,
254254
struct properties = {},
255255
layout = "",
256256
levelMin = 0,
257-
levelMax = 4
257+
levelMax = 3
258258
){
259259
// Convert Levels
260260
convertLevels( arguments );

0 commit comments

Comments
 (0)