Changeset 4377efa95a4897239850cb519eb4979ec477a41b in xas-logmon


Ignore:
Timestamp:
12/02/15 14:33:33 (3 years ago)
Author:
Kevin L. Esteb <kevin@…>
Branches:
master
Children:
e918af62879698c29f582a6413dda86cab8f98a9
Parents:
ae8bb268e3cc0495065bd91dd24063697f49cefa
git-author:
Kevin L. Esteb <kevin@…> (12/02/15 14:33:33)
git-committer:
Kevin L. Esteb <kevin@…> (12/02/15 14:33:33)
Message:

fixing logic errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/XAS/Apps/Logmon/XAS/Process.pm

    rae8bb268e3cc0495065bd91dd24063697f49cefa r4377efa95a4897239850cb519eb4979ec477a41b  
    8989            $output->put($event); 
    9090 
    91             next; 
    92  
    93         } 
    94  
    95         if (my $data = $default->parse($line)) { 
     91        } elsif (my $data = $default->parse($line)) { 
    9692 
    9793            next if ($self->reject($data)); 
     
    112108            $output->put($event); 
    113109 
    114             next; 
     110        } else { 
     111 
     112            $self->log->error_msg('logmon_parserr', trim($line)); 
    115113 
    116114        } 
    117  
    118         $self->log->error_msg('logmon_parserr', trim($line)); 
    119115 
    120116    } 
Note: See TracChangeset for help on using the changeset viewer.