Changeset 25051 for branches/czw_branch/cleanup/arclog/arclog.pl
- Timestamp:
- Aug 11, 2009, 3:54:00 PM (17 years ago)
- Location:
- branches/czw_branch/cleanup
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
arclog/arclog.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/cleanup
- Property svn:mergeinfo changed
/trunk merged: 24940-24950,24953-24971,24973-24977,24986-24989,24993-25017,25019,25021,25023-25024,25026,25029-25031,25036-25049
- Property svn:mergeinfo changed
-
branches/czw_branch/cleanup/arclog/arclog.pl
r24951 r25051 19 19 use Pod::Usage qw( pod2usage ); 20 20 21 my ($ email);21 my ($debug, $email); 22 22 23 23 GetOptions( 24 'email|s=s' => \$email, 24 'debug|d' => \$debug, 25 'email|s=s' => \$email, 25 26 ) || pod2usage( 2 ); 26 27 … … 176 177 = @$rec{qw( host time device event elapse_time errors )}; 177 178 # pack record 178 $query->execute("$host|$time|$device|$event|$elapse_time|$errors") 179 my $rec = "$host|$time|$device|$event|$elapse_time|$errors"; 180 $query->execute($rec) 179 181 or die "database error: $!"; 182 warn "inserting $rec\n" if $debug; 180 183 181 184 # do not print filtered records
Note:
See TracChangeset
for help on using the changeset viewer.
