Skip to content

Commit a9f97f3

Browse files
committed
LOGBOX-53 #resolve
Direct console debugging is left in the AbstractAppender and FileAppender
1 parent 5a02e92 commit a9f97f3

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

system/logging/AbstractAppender.cfc

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ component accessors="true"{
269269
variables.lock( function(){
270270
if ( !variables.logListener.active ) {
271271
// Mark listener as activated
272-
out( "(#getName()#) ScheduleTask needs to be started..." );
272+
//out( "(#getName()#) ScheduleTask needs to be started..." );
273273
variables.logListener.active = true;
274274

275275
// Create the runnable Log Listener, Start it up baby!
@@ -281,7 +281,7 @@ component accessors="true"{
281281
loadAppContext = false
282282
);
283283

284-
out( "(#getName()#) ScheduleTask started" );
284+
//out( "(#getName()#) ScheduleTask started" );
285285
}
286286
} );
287287
}
@@ -304,7 +304,7 @@ component accessors="true"{
304304
};
305305

306306
// Init Message
307-
out( "- Starting (#getName()#) log listener with max life of #queueContext.maxIdle#ms", true );
307+
//out( "- Starting (#getName()#) log listener with max life of #queueContext.maxIdle#ms", true );
308308

309309
// Start Advice
310310
onLogListenerStart( queueContext );
@@ -346,9 +346,8 @@ component accessors="true"{
346346
onLogListenerEnd( queueContext );
347347

348348
// Advice
349-
out(
350-
"Stopping Log listener task for (#getName()#), it ran for #getTickCount() - queueContext.start#ms!"
351-
);
349+
//out( "Stopping Log listener task for (#getName()#), it ran for #getTickCount() - queueContext.start#ms!" );
350+
352351
// Stop log listener
353352
variables.lock( function(){
354353
variables.logListener.active = false;

system/logging/appenders/FileAppender.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ component accessors="true" extends="coldbox.system.logging.AbstractAppender"{
183183
&&
184184
!isSimpleValue( arguments.queueContext.oFile )
185185
){
186-
out( "LogFile for #getName()# flushed to disk at #now()# using interval: #arguments.queueContext.flushInterval#", true );
186+
//out( "LogFile for #getName()# flushed to disk at #now()# using interval: #arguments.queueContext.flushInterval#", true );
187187
fileClose( arguments.queueContext.oFile );
188188
arguments.queueContext.oFile = "";
189189
arguments.queueContext.start = getTickCount();

0 commit comments

Comments
 (0)