NAME
NcFTPd::Log::Parse::Misc - parse NcFTPd misc logs
SYNOPSIS
use NcFTPd::Log::Parse::Misc;
$parser = NcFTPd::Log::Parse::Misc->new('misc.20100101');
while($line = $parser->next) {
$line->{time};
$line->{message};
# ...
}
}
# Check for an error, otherwise it was EOF
if($parser->error) {
die 'Parsing failed: ' . $parser->error;
}
DESCRIPTION
This class is part of the NcFTPd::Log::Parse package. Refer to its documentation for a detailed overview of how this and the other parsers work.
Only NcFTPd::Log::Parse::Misc
specific features are described here.
MISC LOG ENTRIES
time
Date & time the connection was closed
process
NcFTPd process ID
message
A message output by NcFTPd
METHODS
See NcFTPd::Log::Parse for the full documentation.
SEE ALSO
NcFTPd::Log::Parse, NcFTPd::Log::Parse::Xfer, NcFTPd::Log::Parse::Session and the NcFTPd log file documentation http://ncftpd.com/ncftpd/doc/misc
AUTHOR
Skye Shaw <sshaw AT lucas.cis.temple.edu>
COPYRIGHT
Copyright (C) 2011 Skye Shaw
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.