directories, filter, exclude, follow_symlinks, sleep_interval, statefilename, no_init, max_age
See the equivalent options in File::Tail::Dir: directories in File::Tail::Dir, filter in File::Tail::Dir, exclude in File::Tail::Dir, follow_symlinks in File::Tail::Dir, sleep_interval in File::Tail::Dir, statefilename in File::Tail::Dir, no_init in File::Tail::Dir, max_age in File::Tail::Dir.
This is a hash containing all of the options to pass to <Log::Dispatch::Scribe/new>.
An optional coderef that can be used to preprocess messages before they are sent to Scribe. The code is passed ($self, $filename, $line), i.e. the File::Tail::Scribe instance, the filename of the file that changed, and the line of text that was added. It must return ($level, $category, $message), i.e. the log level (info, debug etc), the Scribe category, and the log line that will be sent to Scribe. An example:
If no msg_filter is provided, the log level is given by default_level, the category is the filename after removing leading paths and filename extensions, and the message is the log line as given.
Default logging level. May be set to any valid Log::Dispatch level (debug, info, notice, warning, error, critical, alert, emergency). Defaults to info.
<B>File::Tail::ScribeB> provides the same methods as File::Tail::Dir, plus the following:
o msg_filter o default_level
Set/get the msg_filter and default_level attributes as described above.
o tail_to_scribe.pl, a program that uses this module o <http://notes.jschutz.net/109/perl/perl-client-for-facebooks-scribe-logging-software> o <http://github.com/facebook/scribe/> o Log::Dispatch::Scribe
Jon Schutz, <jon at jschutz.net> <http://notes.jschutz.net>
Please report any bugs or feature requests to bug-file-tail-scribe at rt.cpan.org, or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=File-Tail-Scribe>. I will be notified, and then youll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
o RT: CPANs request tracker
o AnnoCPAN: Annotated CPAN documentation o CPAN Ratings o Search CPAN
Copyright 2010 Jon Schutz, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|perl v5.20.3||FILE::TAIL::SCRIBE (3)||2010-04-07|