syslog-ml-logger 1.7.2 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/syslog-ml-logger.rb +2 -2
 - metadata +3 -3
 
    
        data/lib/syslog-ml-logger.rb
    CHANGED
    
    | 
         @@ -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. 
     | 
| 
      
 9 
     | 
    
         
            +
              VERSION = '1.7.3'
         
     | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
              # From 'man syslog.h':
         
     | 
| 
       12 
12 
     | 
    
         
             
              # LOG_EMERG   A panic condition was reported to all processes.
         
     | 
| 
         @@ -120,7 +120,7 @@ class Logger::Syslog 
     | 
|
| 
       120 
120 
     | 
    
         | 
| 
       121 
121 
     | 
    
         
             
                # breakup multiple lines into multiple syslog messages
         
     | 
| 
       122 
122 
     | 
    
         
             
                message.each_line do | msg |
         
     | 
| 
       123 
     | 
    
         
            -
                  SYSLOG.send(LEVEL_LOGGER_MAP[severity], format_message(format_severity(severity), progname, clean(msg.chop)))
         
     | 
| 
      
 123 
     | 
    
         
            +
                  SYSLOG.send(LEVEL_LOGGER_MAP[severity], format_message(format_severity(severity), Time.now, progname, clean(msg.chop)))
         
     | 
| 
       124 
124 
     | 
    
         
             
                end
         
     | 
| 
       125 
125 
     | 
    
         
             
                true
         
     | 
| 
       126 
126 
     | 
    
         
             
              end
         
     | 
    
        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:  
     | 
| 
      
 4 
     | 
    
         
            +
              hash: 13
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       6 
6 
     | 
    
         
             
              segments: 
         
     | 
| 
       7 
7 
     | 
    
         
             
              - 1
         
     | 
| 
       8 
8 
     | 
    
         
             
              - 7
         
     | 
| 
       9 
     | 
    
         
            -
              -  
     | 
| 
       10 
     | 
    
         
            -
              version: 1.7. 
     | 
| 
      
 9 
     | 
    
         
            +
              - 3
         
     | 
| 
      
 10 
     | 
    
         
            +
              version: 1.7.3
         
     | 
| 
       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
         
     |