NcFTPd::Log::Parse::Misc - parse NcFTPd misc logs
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; }
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.
NcFTPd::Log::Parse::Misc
time
Date & time the connection was closed
process
NcFTPd process ID
message
A message output by NcFTPd
See NcFTPd::Log::Parse for the full documentation.
NcFTPd::Log::Parse, NcFTPd::Log::Parse::Xfer, NcFTPd::Log::Parse::Session and the NcFTPd log file documentation http://ncftpd.com/ncftpd/doc/misc
Skye Shaw <sshaw AT lucas.cis.temple.edu>
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.
To install NcFTPd::Log::Parse, copy and paste the appropriate command in to your terminal.
cpanm
cpanm NcFTPd::Log::Parse
CPAN shell
perl -MCPAN -e shell install NcFTPd::Log::Parse
For more information on module installation, please visit the detailed CPAN module installation guide.