log4perl Questions

2

I am new to using log4p and want to use the same for logging in my code. I am getting errors like: Can't locate Log/Log4perl.pm in @INC Which I understand is because of a missing library. No...
Autrey asked 23/1, 2013 at 1:37

2

Solved

I have a Mason template running under mod_perl, which is using Log::Log4perl. I want to change the log level of a particular appender, but changing the config is too awkward, as it would have to p...
Ottoottoman asked 10/5, 2011 at 16:5

2

I'd like to have modules managing their logging at runtime, but without having everything referring to a single monolithic config file. When dealing with processes running under different permissio...
Bimbo asked 17/1, 2011 at 17:18

2

Solved

Is there a way to use Log::Log4perl to make a smart self-logging module that logs its operations to a file even in the absence of the calling script not initializing Log4perl? As far as I can tell ...
Necktie asked 10/6, 2010 at 21:7

2

Solved

I've been using Log4perl extensively in a number of scripts. I'd like to augment those scripts to set an error code if any WARN or ERROR messages have been logged. I couldn't find any obvious way t...
Dimond asked 6/4, 2010 at 14:26

2

Solved

Log4perl is a great tool for logging. The warnings pragma is also an essential tool. However, when Perl scripts are running as daemons, the Perl warnings, are printed into STDERR where nobody ca...
Soutache asked 17/1, 2010 at 17:10

2

Solved

I would like to use Log4perl in a project but disable it for a certain class (which is, in this case Net::Amazon). I thought this would be an easy one, but somehow I failed. I tried using use Log...
Taxeme asked 22/10, 2009 at 15:40

3

From what I can tell neither Log4Perl or any of its related modules in CPAN supports rotate & compression of log files. Rotation can be accomplished by using: Log::Log4perl::Appender::File ...
Wig asked 8/2, 2009 at 21:29
1

© 2022 - 2024 — McMap. All rights reserved.