syslog-ml-logger 1.7.1 → 1.7.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  # [Time.mSec] [SeverityLabel]: message
4
4
 
5
5
  class Logger::SyslogFormatter < Logger::Formatter
6
- Format = "[%s] [%5s]: %s\n"
6
+ Format = "[%5s]: %s\n"
7
7
 
8
8
  attr_accessor :datetime_format
9
9
 
@@ -12,7 +12,7 @@ class Logger::SyslogFormatter < Logger::Formatter
12
12
  end
13
13
 
14
14
  def call(severity, time, progname, msg)
15
- Format % [format_datetime(time), severity, msg2str(msg)]
15
+ Format % [severity, msg2str(msg)]
16
16
  end
17
17
 
18
18
  protected
@@ -37,4 +37,4 @@ class Logger::SyslogFormatter < Logger::Formatter
37
37
  end
38
38
  end
39
39
 
40
- end
40
+ end
@@ -6,7 +6,7 @@ class Logger::Syslog
6
6
  include Logger::Severity
7
7
 
8
8
  # The version of Logger::Syslog you are using.
9
- VERSION = '1.7.1'
9
+ VERSION = '1.7.2'
10
10
 
11
11
  # From 'man syslog.h':
12
12
  # LOG_EMERG A panic condition was reported to all processes.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syslog-ml-logger
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 7
9
- - 1
10
- version: 1.7.1
9
+ - 2
10
+ version: 1.7.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel van den Oord;Eric Hodel; Chris Powell; Matthew Boeh; Ian Lesperance; Dana Danger; Brian Smith; Ashley Martens