lib/semantic_logger/appender/base.rb in semantic_logger-2.6.0 vs lib/semantic_logger/appender/base.rb in semantic_logger-2.6.1

- old
+ new

@@ -38,10 +38,10 @@ message << " -- " << log.payload.inspect if log.payload message << " -- " << "#{log.exception.class}: #{log.exception.message}\n#{(log.exception.backtrace || []).join("\n")}" if log.exception duration_str = log.duration ? "(#{'%.1f' % log.duration}ms) " : '' - "#{SemanticLogger::Appender::Base.formatted_time(log.time)} #{log.level.to_s[0..0].upcase} [#{$$}:#{'%.30s' % log.thread_name}] #{tags}#{duration_str}#{log.name} -- #{message}" + "#{SemanticLogger::Appender::Base.formatted_time(log.time)} #{log.level.to_s[0..0].upcase} [#{$$}:#{'%.50s' % log.thread_name}] #{tags}#{duration_str}#{log.name} -- #{message}" end end # Optional log formatter to colorize log output # To use this formatter \ No newline at end of file