Main > Programming > Libraries >

Log::Dispatch::File::Rolling 1.04

Log::Dispatch::File::Rolling 1.04

Sponsored Links

Log::Dispatch::File::Rolling 1.04 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.005 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 869
Date added: 2007-06-07
Publisher: M. Jacob

Log::Dispatch::File::Rolling 1.04 description

Log::Dispatch::File::Rolling is a Perl object for logging to date/time/pid stamped files.

SYNOPSIS

use Log::Dispatch::File::Rolling;

my $file = Log::Dispatch::File::Rolling->new(
name => file1,
min_level => info,
filename => Somefile%d{yyyyMMdd}.log,
mode => append );

$file->log( level => emerg,
message => "Ive fallen and I cant get upn" );

ABSTRACT

This module provides an object for logging to files under the Log::Dispatch::* system.

This module subclasses Log::Dispatch::File for logging to date/time stamped files. See Log::Dispatch::File for instructions on usage. This module differs only on the following three points:

fork()-safe

This module will close and re-open the logfile after a fork.

multitasking-safe

This module uses flock() to lock the file while writing to it.

stamped filenames

This module supports a special tag in the filename that will expand to the current date/time/pid.

It is the same tag Log::Log4perl::Layout::PatternLayout uses, see Log::Log4perl::Layout::PatternLayout, chapter "Fine-tune the date". In short: Include a "%d{...}" in the filename where "..." is a format string according to the SimpleDateFormat in the Java World (http://java.sun.com/j2se/1.3/docs/api/java/text/SimpleDateFormat.html). See also Log::Log4perl::DateFormat for information about further restrictions.
In addition to the format provided by Log::Log4perl::DateFormat this module also supports $ for inserting the PID. Repeat the character to define how many character wide the field should be. This should not be needed regularly as this module also supports logfile sharing between processes, but if youve got a high load on your logfile or a system that doesnt support flock()...

Log::Dispatch::File::Rolling 1.04 Screenshot

Advertisements

Log::Dispatch::File::Rolling 1.04 Keywords

Bookmark Log::Dispatch::File::Rolling 1.04

Hyperlink code:
Link for forum:

Log::Dispatch::File::Rolling 1.04 Copyright

WareSeeker periodically updates pricing and software information of Log::Dispatch::File::Rolling 1.04 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Log::Dispatch::File::Rolling 1.04 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Log::Dispatch::File::Alerts is a Perl object for logging to alert files. Free Download
Log::Dispatch::Config is a Log4j for Perl. Free Download
Log::Dispatch::ToTk provides class to redirect Log::Dispatch to Tk widgets. Free Download
Log::Dispatch::TkText provides a Text widget for Log::Dispatch. Free Download
Log::Dispatch::Atom is a Perl module to log to an atom feed. Free Download
ConfigFile for Haskell is a configuration file parser and writer library for Haskell. Free Download
libbatch implements typical batch process functions. Free Download
Oracle::Trace is a Perl Module for parsing Oracle Trace files. Free Download