Changeset 1df84ff464af8fada2c57a51651fd18f5cf94202 in xas-logmon


Ignore:
Timestamp:
12/01/15 15:54:48 (3 years ago)
Author:
Kevin L. Esteb <kevin@…>
Branches:
master
Children:
100e476af85043de563f011534030396c8a57ca0
Parents:
2c1dc7c2a2062dbf6c645b043f69c33f81798e30
git-author:
Kevin L. Esteb <kevin@…> (12/01/15 15:54:48)
git-committer:
Kevin L. Esteb <kevin@…> (12/01/15 15:54:48)
Message:

fixing typos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/XAS/Logmon/Parser/XAS/Logs.pm

    r71b41918e7074bbc7a6c4c165197e3709e7a086b r1df84ff464af8fada2c57a51651fd18f5cf94202  
    33our $VERSION = '0.01'; 
    44 
    5 use DateTime::Format::Strptime; 
    65use XAS::Lib::Regexp::Log::XAS; 
    76 
     
    109  version   => $VERSION, 
    1110  base      => 'XAS::Base', 
    12   utils     => 'trim dotid', 
     11  utils     => 'trim dotid db2dt', 
    1312  accessors => 'regex fields', 
    1413; 
     
    3029    if ((@data{@$fields}) = ($line =~ /$regex/)) { 
    3130 
    32         $data{'message'} = trim($data{'message'}); 
    33         $data{'type'}    = 'xas-logs'; 
     31        $data{'datetime'} = db2dt($data{'datetime'}); 
     32        $data{'message'}  = trim($data{'message'}); 
     33        $data{'type'}     = 'xas-logs'; 
    3434 
    3535        return \%data; 
Note: See TracChangeset for help on using the changeset viewer.