diff --git a/system/logging/AbstractAppender.cfc b/system/logging/AbstractAppender.cfc index 54b1625f6..b81c0a0a8 100644 --- a/system/logging/AbstractAppender.cfc +++ b/system/logging/AbstractAppender.cfc @@ -428,7 +428,9 @@ component accessors="true" { // Stop log listener only if not in force mode if ( !arguments.force ) { - variables.lock( () => variables.logListener.active = false ); + variables.lock( () => { + variables.logListener.active = false; + } ); } } }