lib/semantic_logger/logger.rb in semantic_logger-2.6.0 vs lib/semantic_logger/logger.rb in semantic_logger-2.6.1
- old
+ new
@@ -152,9 +152,10 @@
# This thread is designed to never go down unless the main thread terminates
# Before terminating at_exit is used to flush all the appenders
#
# Should any appender fail to log or flush, the exception is logged and
# other appenders will still be called
+ Thread.current.name = "SemanticLogger::AppenderThread"
logger.debug "V#{VERSION} Appender thread active"
begin
count = 0
while message = queue.pop
if message.is_a? Log