/log4perl/issues/72
*(ms) header_text now works with syswrite (reported by Tom Metro):
https://github.com/mschilli/log4perl/issues/73
Enjoy!
--
-- Mike Schilli
t be found.
*(ms) All hash traversals in Config.pm now done via "sort keys"
to make sure we can reliably reproduce potential problems.
Enjoy!
-- Mike
Mike Schilli
m...@perlmeister.com
--
Transform D
Somehow this got erroneously erased from the moderator list, reposting.
--
-- Mike
Mike Schilli
m...@perlmeister.com
James Pittman jpittm...@gmail.com To:
log4perl-devel@lists.sourceforge.net Subject: Stuck on MatchRange Date:
Tue, 16 Dec 2014 00:03:23 -0500
Hi,
I have the following config
On Thu, 4 Dec 2014, Christopher Collins wrote:
I have one small suggestion for the synopsis
Makes perfect sense, I've added it:
https://github.com/mschilli/log4perl/commit/953797d4bf330f34ca2628a7c24629c330d2f5b6
Thanks for your suggestion!
--
-- Mike
Mike Schilli
m
://github.com/mschilli/log4perl/issues/54
Enjoy!
--
-- Mike
Mike Schilli
m...@perlmeister.com
--
___
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https
, and you're golden.
-- -- Mike
Mike Schilli
m...@perlmeister.com
Is there a way to circumvent this or do I oversee anything?
Regards
Markus
_
Dr. Markus Sonderegger
Application Integration
Bank Julius Baer Co. Ltd.
Hohlstrasse 600
log4perl.appender.Logfile.layout.ConversionPattern = %d %F{1} %L %m %n
Hope this helps!
--
-- Mike
Mike Schilli
m...@perlmeister.com
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases
On Mon, 23 Dec 2013, Dave Pointon wrote:
Would it be worthwhile to document this 'feature' in order to head off
further such questions?
I added this to the FAQ:
http://feedproxy.google.com/~r/FatwalletHotDeals/~3/YyseBpP9ZeU/
Good enough?
-- -- Mike
Mike Schilli
m...@perlmeister.com
?
--
-- Mike
Mike Schilli
m...@perlmeister.com
--
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue
formatted with the Log4perl layout you've
specified, it's safe to assume that they're not using Log4perl for
those.
You might want to ask on the Catalyst forums, I've had good luck with
speedy responses in the Freenode #catalyst IRC channel.
-- -- Mike
Mike Schilli
m...@perlmeister.com
the line
Log::Log4perl-appender_by_name(
'log4perl.appender.A1.filename');
to something like
my $appender = Log::Log4perl-appender_by_name( 'A1' );
print $appender-filename();
Hope that helps, let me know if you need anything else!
-- -- Mike
Mike Schilli
m
, but with logging:
Fixed!
https://github.com/mschilli/log4perl/commit/56c95a2d131678c4908785695fac0e56175c7b44
--
-- Mike
Mike Schilli
m...@perlmeister.com
I noticed that logcroak (die,confess...) always die()s with
a stringified version of what you pass to it.
Here's an example:
---
#!/usr
undefined message elements before they're assembled in Appender.pm
and a warning is issued without a proper code location:
https://github.com/mschilli/log4perl/issues/15
*(ms) [rt.cpan.org #78734] Added spell check on filter parameter names
Enjoy!
--
-- Mike
Mike
or not.
Yeah, saw that, but the code is sufficiently different and the data
structure used for the wrappers is local to the package, so I think it's
good enough for now. If you have a patch to integrate it more tightly,
by all means, send it, I'll be happy to apply it :).
--
-- Mike
Mike Schilli
m
/e258163ef2c219e082419e6158ad6fa96eeebc5d
You can download the updated tarball from:
https://github.com/mschilli/log4perl/tarball/1.38logdie
Would be great if you could give it a whirl, let me know if it's working
for you.
--
-- Mike
Mike Schilli
m...@perlmeister.com
around in my wrapping code
,
updated docs.
* (ms) [rt.cpan.org #76827] UTF-8 encoded configuration files are
now supported (see Log::Log4perl::Config).
* (ms) [rt.cpan.org #77501] Unescaped left brace in regex is
deprecated with perl 5.17. Times we live in.
Enjoy!
--
-- Mike
Mike Schilli
m
to the old configuration is related to something
within the system calling Log4perl's init()?
--
-- Mike
Mike Schilli
m...@perlmeister.com
the reason i'm not using 'init_and_watch()' is b/c we embed the
configuration file inside the code base (which is contained in a custom,
encrypted archive
and INFO in conjunction with
log4perl configuration files, unless for really simple scripts for which
easy_init() is more appropriate.
--
-- Mike
Mike Schilli
m...@perlmeister.com
I started with Log4perl a few months ago and wrote some modules that
use Log4perl in easy mode with no get_logger
and call init(). If
you want to get really fancy, you could offer a tied hash, intercept the
STORE function and call init() whenever something changes.
Would that work for you?
--
-- Mike
Mike Schilli
m...@perlmeister.com
, I'll take a look.
--
-- Mike
Mike Schilli
m...@perlmeister.com
--
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend
-07-23 19:50:03] Package INFO: info message
[2011-07-23 19:50:03] Package WARN: warn message
[2011-07-23 19:50:03] Package ERROR: error message
as (hopefully) expected.
Hope that helps.
-- Mike
Mike Schilli
m...@perlmeister.com
On Fri, 22 Jul 2011, Steve Chadsey wrote:
I have a script
the appender by name.
Something like
Log::Log4perl-appender_by_name( DBAppndr )-_init();
in your consume() function should do the trick.
-- Mike
Mike Schilli
m...@perlmeister.com
--
Fulfilling the Lean Software Promise
this problem?
-- Mike
Mike Schilli
m...@perlmeister.com
--
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce
On Sun, 30 Jan 2011, David Christensen wrote:
I'm not certain if %T is doing the right thing (?). You said there might be
a bug. Do you mean that the:
Should be fixed in Log4perl 1.32 on CPAN, give it a try.
-- Mike
Mike Schilli
m...@perlmeister.com
supports the utf8 flag.
*(ms) [RT 64318] Andrew Sayers provided a better error message
for threshold needs to be uppercase.
*(ms) CharleyDixon fixed LOGWARN when :no_extra_logdie_message is
in use to no longer exit().
Enjoy!
-- Mike
Mike Schilli
m
;
BEGIN {
Log::Log4perl-wrapper_register(__PACKAGE__);
};
use Log::Log4perl qw(:easy);
to make sure Log4perl's easy mode stealth loggers are set up
correctly.
With regards to %T, I think that's a bug, I'll investigate.
Hope that helps.
-- Mike
Mike Schilli
m
);
Log::Log4perl-easy_init({layout='%c %m %n'});
DEBUG(__FILE__, -, __LINE__);
Helper::help(__FILE__, -, __LINE__);
Foo::foo();
-- Mike
Mike Schilli
m...@perlmeister.com
--
Special Offer-- Download ArcSight
hierarchy
looks like and how you call the metods of the derived class from your
application?
-- Mike
Mike Schilli
m...@perlmeister.com
--
Increase Visibility of Your 3D Game App Earn a Chance To Win $500!
Tap
.
-- Mike
Mike Schilli
m...@perlmeister.com
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3.
Spend less time writing and rewriting code
= out.dat
log4perl.appender.App.layout = PatternLayout
log4perl.appender.App.layout.ConversionPattern = %F-%L: %m%n
});
DEBUG waah;
-- Mike
Mike Schilli
m...@perlmeister.com
--
The Next 800 Companies to Lead
!
-- Mike
Mike Schilli
m...@perlmeister.com
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes
that reproduces the error?
-- Mike
Mike Schilli
m...@perlmeister.com
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP
INTERNAL_DEBUG env variable to test suite triggering
all _INTERNAL_DEBUG statements to be printed for better
error diagnosis on misbehaving systems.
Enjoy!
-- Mike
Mike Schilli
m...@perlmeister.com
);
my $logger = get_logger();
my $wobble = Wobble-new();
$logger-info(return of ptn: , $wobble-ptn());
-- Mike
Mike Schilli
m...@perlmeister.com
--
___
log4perl
logging methods:
$logger-trace( sub { Data::Dumper-Dump([$name], ['name']) } );
would do the trick while retaining the time-saving late evaluation.
-- Mike
Mike Schilli
m...@perlmeister.com
--
Download Intel#174
On Fri, 9 Apr 2010, Josh803316 wrote:
wn edificationwhat is the real difference between the filter
method and the sub method or are they basically the same?
They're the same, just different notations.
-- Mike
Mike Schilli
m...@perlmeister.com
On Thu, 1 Apr 2010, Rob Retter wrote:
my die message without newline at
/ccrun/perl/3rdparty/lib/Log/Log4perl/Logger.pm line 884
Fixed, will be released with 1.29:
http://github.com/mschilli/log4perl/commit/f74c3490268a78a8cc81f96cbcf78c8bf76e374d
Thanks again for your report.
-- Mike
Mike
/aeaf10cca8e8c5ba64bc2783109dc5b345436d91
Enjoy! :)
-- Mike
Mike Schilli
m...@perlmeister.com
WARN(), ERROR(), FATAL(), and ALWAYS. Call me lazy but I am trying to
avoid doing things like: $c-log-debug(hello); now that I have been
spoiled with using DEBUG(hello); in other places that I use
Log4perl.
Thanks
Mike Schilli
m...@perlmeister.com
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why
On Thu, 11 Mar 2010, mara raram wrote:
I was so busy profiling that I completely forgot to thank you for that
tip. So, thanks a lot, works brilliant.
Glad to hear it worked out!
-- Mike
Mike Schilli
m...@perlmeister.com
and then increasing it is incorrect,
as this ignores previous settings. The correct way of
increasing the caller level is: 'local depth = depth + 1'.
*(ms) Added Log::Log4perl::Catalyst for use in Catalyst applications.
Enjoy!
-- Mike
Mike Schilli
m
with Log4perl or any
other modules used, most likely it's a bug in the Profiler. I personally
prefer
http://search.cpan.org/~timb/Devel-NYTProf-3.01/
Want to give it a try?
-- Mike
Mike Schilli
m...@perlmeister.com
use warnings;
use strict;
use Log::Dispatch::FileRotate;
use Log::Log4perl
#How_can_I_roll_over_my_logfiles_automatically_at_midnight?
Hope this helps.
-- Mike
Mike Schilli
m...@perlmeister.com
--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get
to be
passed to the log() function, which stores the completely
rendered message and can be passed to log_cached() later on.
Enjoy!
-- Mike
Mike Schilli
m...@perlmeister.com
--
The Planet
the configuration file? Can you point me to the
code?
-- Mike
Mike Schilli
m...@perlmeister.com
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network
instead. Maybe a bug on a specific platform? Which one are you on? Can
you try with a later perl version?
-- Mike
Mike Schilli
m...@perlmeister.com
On Thu, 4 Feb 2010, you wrote:
This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi
t/023Date.t .. 1/36
# Failed test at t
the cleartext passwords and b)
you'd get funny (and revealing!) results if the password matches regular
text.
-- Mike
Mike Schilli
m...@perlmeister.com
For example, I routinely use log4perl to dump the data in web forms
before POSTing them. These forms often contain sensitive user
information and I
to create
a subclass of Log::Log4perl::Appender::File (rather than Log::Dispatch
which misses a number of features) to accomplish what you want.
Hope that helps!
-- Mike
Mike Schilli
m...@perlmeister.com--
The Planet
/sec because the OS typically caches
disc access quite efficiently. Your mileage might vary, so prudent load
testing is of the essence.
-- Mike
Mike Schilli
m...@perlmeister.com
--
The Planet: dedicated and managed hosting
On Wed, 27 Jan 2010, Keith Clay wrote:
Is there a way to pass info to a called command? can it ingest the config
file for the calling program, add it's own appender/s and write to files the
calling program has open?
Not sure I'm following ... what are you trying to do?
-- Mike
Mike Schilli
introduces milliseconds and hence kills the
optimization.
More to come soon ...
-- Mike
Mike Schilli
m...@perlmeister.com
time string over and over and overYou tend to see the same
timestamp on numerous consecutive log entries (unless you're using
milliseconds, which seems like overkill
On Tue, 12 Jan 2010, Malcolm Nooning wrote:
Please add the above note to the faq.
Done, thanks for the note!
http://github.com/mschilli/log4perl/commit/aa140e15be803988ccee7ea3f1da83d5d5165a11
-- Mike
Mike Schilli
m...@perlmeister.com
There is already a section in the FAQ.html
!
-- Mike
Mike Schilli
m...@perlmeister.com
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
log4perl-devel
me that identical installation should behave identically
:). You might also want to check if perl is actually pulling the correct
version of the module, sometimes people install identical modules in
multiple locations.
-- Mike
Mike Schilli
m...@perlmeister.com
-Original Message-
From
() to Threshold keyword
uppercase check.
* (ms) Took out Class::Prototyped testcase after it got all
weird and introduced backward-incompatible changes.
If all goes well, it'll hit CPAN in a couple of days.
-- Mike
Mike Schilli
m...@perlmeister.com
modified patch by Gabriel Berriz).
If all goes well, it'll hit CPAN in a couple of days.
Enjoy!
-- Mike
Mike Schilli
m...@perlmeister.com
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
On Fri, 11 Sep 2009, Terry Kummell wrote:
Do we need to license log4perl in order to use it in our product?
Hi Terry,
Log4perl is provided under the same license as perl itself:
http://dev.perl.org/licenses/
Hope that helps!
-- Mike
Mike Schilli
m...@perlmeister.com
::Dispatch appenders:
http://search.cpan.org/dist/Log-Log4perl/lib/Log/Log4perl.pm#Additional_Appenders_via_Log::Dispatch
If there's an equivalent in Log4perl (like for a file appender), using
the native appenders is recommended because they provide additional
functionality.
-- Mike
Mike
of the
log file, and switch to a new log file if the old one got too big.
That's exactly what Log::Dispatch::FileRotate does if you call it with
a max value of 1.
-- Mike
Mike Schilli
m...@perlmeister.com
--
Let Crystal
in this area. Give it a try!
-- Mike
Mike Schilli
m...@perlmeister.com
--
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new
be able to use the normal CPAN installer (which can be configured
to use http).
-- Mike
Mike Schilli
m...@perlmeister.com
--
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes
queue aborted.
Which version of Log::Dispatch are you using, the latest from CPAN,
2.22?
-- Mike
Mike Schilli
m...@perlmeister.com
--
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000
?
Please post the complete (runnable) code to make it easier to diagnose
the problem.
-- Mike
Mike Schilli
m...@perlmeister.com
package Trapper;
use Log::Log4perl qw(get_logger :levels
On Thu, 21 May 2009, Richard Burton wrote:
It is more of a general question so that I can build it in to my code;
I don't have a specific example?
Maybe I misunderstood, but you said I have tried but failed, and from
what I saw, you're doing everything correctly.
-- Mike
Mike Schilli
m
but failed so would
appreciate any guidance?
This should work, what was the problem/error message you encountered?
-- Mike
Mike Schilli
m...@perlmeister.com
--
Register Now for Creativity and Technology (CaT), June 3rd
handler listening to USR2. You can
add whatever other logic you need to it. When triggered, it also forwards
the signal to Log4perl's signal handler, which listens to USR1.
Good enough?
-- Mike
Mike Schilli
m...@perlmeister.com
be able to call
Log::Log4perl::Config-watcher-force_next_check();
instead of using a signal:
http://github.com/mschilli/log4perl/commit/6c8609f1ba064d3f781769cb9e1b45638f3daa75
(will probably go out soon).
-- Mike
Mike Schilli
m...@perlmeister.com
by Tim Bunce (see PatternLayout).
By the way, we're on github now, so if you want to contribute to the
project, it's now easier than ever:
http://github.com/mschilli/log4perl
Enjoy!
-- Mike
Mike Schilli
m...@perlmeister.com
to remove the semaphore.
Hmm, this sounds like a bug, but I'm not sure what your 'existing'
processes are doing in this case -- can you provide some test code?
-- Mike
Mike Schilli
m...@perlmeister.com
--
This SF.net email
On Fri, 20 Mar 2009, fol...@netnea.com wrote:
- log4perl 1.10-1 (Ubuntu)
There's been a lot of changes to the Synchronized appender between
Log4perl 1.10 (released two years ago) and the current Log4perl 1.21 --
can you try the latest?
-- Mike
Mike Schilli
m...@perlmeister.com
Mike Schilli
m...@perlmeister.com
--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder
::FileRotate man page, nor does
it claim to roll it on every invocation.
You probably need something like a custom file appender for this.
-- Mike
Mike Schilli
m...@perlmeister.com
--
Apps built with the Adobe(R) Flex(R
log4perl.appender.Logfile.filename = sub { log- . time() . .log }
to name your logfiles after the current timestamp?
-- Mike
Mike Schilli
m...@perlmeister.com
I see what you mean about the valid date patterns. Implement in haste,
repent at leisure.
Also, apologies for the stupid .sig. I have no control over
On Wed, 11 Mar 2009, DAY Roger wrote:
That would work, cheers. I was thinking it'll be fun to write a custom
appender.
No doubt, go for it :).
-- Mike
Mike Schilli
m...@perlmeister.com
I'll think on it.
Roger
-Original Message-
From: Mike Schilli [mailto:m...@perlmeister.com
.
Hope that helps!
-- Mike
Mike Schilli
m...@perlmeister.com
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
ActiveState Perl on Unix! :)
-- Mike
Mike Schilli
m...@perlmeister.com
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
/ActivePerl-
5.8/lib/site_perl/5.8.7/Log/Log4perl/Appender.pm line 189.
Hmm, that's peculiar. I wonder what kind of config change would cause
this. Are you removing an appender by any chance?
-- Mike
Mike Schilli
m...@perlmeister.com
. The continually
going logfile appender is in 'append' mode and the request-based logfile
appender is in 'clobber' mode.
-- Mike
Mike Schilli
m...@perlmeister.com
--
Open Source Business Conference (OSBC), March 24-25, 2009
?
-- Mike
Mike Schilli
m...@perlmeister.com
My application uses one common logging facility (hence the easy_init).
Certain parts of the application want to create occasionally their
various other logfiles with their own layout and shorter lifetime than
the common logging system (demonstrated here
#I_keep_getting_duplicate_log_messages!_What's_wrong?
Also, what do you mean exactly when you say log WARN -- is it WARN
messages only or WARN+up?
-- Mike
Mike Schilli
m...@perlmeister.com
3. output to screen at level INFO
4. email at level WARN
and here is the log4per.properties file:
#predefined variables
using a configuration
file, but if you attach the DBI appender via add_appender() in your
code, you can pass in your $dbh to the constructor via new( dbh =
$dbh).
-- Mike
Mike Schilli
m...@perlmeister.com
Thanks,
David
On Feb 11, 2009 4:49pm, Kevin M. Goess c...@goess.org wrote:
What
log4perl.category.Mycompany.Modules = ...
then it'll cover both Mycompany:Modules:A and Mycompany:Modules:B
because of logger inheritance:
http://search.cpan.org/dist/Log-Log4perl/lib/Log/Log4perl.pm#Categories
-- Mike
Mike Schilli
m...@perlmeister.com
for a password, type '12345'. If this works, the only
other suspicious item I noticed at first glance is the ;port= part --
try it without.
-- Mike
Mike Schilli
m...@perlmeister.com
log4perl.appender.DBAppender.sql= \ INSERT INTO spp (loglevel,
message) \ VALUES
://search.cpan.org/dist/Log-Log4perl/lib/Log/Log4perl/FAQ.pm#How_can_I_make_sure_my_application_logs_a_message_when_it_dies_unexpectedly?
-- Mike
Mike Schilli
m...@perlmeister.com
--
Create and Deploy Rich Internet Apps
messages in system-wide
logging if debug log is turned of.
Hmm, I need some clarification on this one -- what exactly do you want
to replicate?
-- Mike
Mike Schilli
m...@perlmeister.com
I am a new user of log4perl and to this mailing list. I am working
on a perl project - want
On Tue, 9 Dec 2008, Mike Schilli wrote:
Interesting, which version of LWP::UserAgent do you have installed?
Never mind, I found it, it's caused by the latest LWP release (5.822),
which got rid of all of its internal debugging functions. I'll fix the
Log4perl test suite to omit this test in case
. (Cannot
locate 'Server' at log4Perl.pl line 1 Warning: something's wrong at
/opt/ActivePerl-5.8/site/lib/Mail/Mailer.pm line 278).
Hmm, your version of Mail::Mailer seems to be different from the one on
CPAN -- which one are you using?
-- Mike
Mike Schilli
[EMAIL PROTECTED
= \
sub { POE::Kernel-get_active_session- \
get_heap()-{ $_[0]-{curlies} } }
and print the POE session heap entries 'user' and 'id' with every logged
message. For more details on cpecs, read the PatternLayout manual.
Hope that helps!
-- Mike
Mike Schilli
[EMAIL PROTECTED
a CPAN module
like Mail::DWIM.
-- Mike
Mike Schilli
[EMAIL PROTECTED]
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK win great prizes
to use Perl code to init Log4perl, most of the time people
either use easy_init() or init($conf_file).
-- Mike
Mike Schilli
[EMAIL PROTECTED]
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R
(properly) checking that people haven't
made a stupid mistake in forgetting the layout.
Exactly, catching stupid errors has precedence over making slick code
short. :)
-- Mike
Mike Schilli
[EMAIL PROTECTED]
-
This SF.net
, $msg);
Log::Log4perl::MDC-put(netcool-key, undef);
which isn't exactly handy.
... or you define a wrapper around that:
http://log4perl.sourceforge.net/d/Log/Log4perl.html#6acb7
-- Mike
Mike Schilli
[EMAIL PROTECTED]
-Original Message-
From: Mike Schilli [mailto:[EMAIL
://log4perl.sourceforge.net/d/Log/Log4perl.html#bd632
-- Mike
Mike Schilli
[EMAIL PROTECTED]
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go
to the same file requires some
precautions, all listed in this FAQ:
http://log4perl.sourceforge.net/d/Log/Log4perl/FAQ.html#23804
-- Mike
Mike Schilli
[EMAIL PROTECTED]
-
This SF.net email is sponsored by: Microsoft
Defy
code
example that I can reproduce the error with?
-- Mike
Mike Schilli
[EMAIL PROTECTED]
I have a series of modules that are descendants of other packages.
Scripts using the objects are using log4perl, and the packages also use
log4perl.
Everything seems to work - I initiate the logger
on
the 'recreate' flag.
Hope that helps!
-- Mike
Mike Schilli
[EMAIL PROTECTED]
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01
the internal error above?
Perhaps the uninitialized root logger causes the erroneous exception
handling as described in point 3.)?
I'm not sure how you get there - is there an easy way for me to
reproduce this problem?
-- Mike
Mike Schilli
[EMAIL PROTECTED
.
-- Mike
Mike Schilli
[EMAIL PROTECTED]
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download
://log4perl.sourceforge.net/d/Log/Log4perl.html#bd632
-- Mike
Mike Schilli
[EMAIL PROTECTED]
log4perl.appender.foofile = Log::Log4perl::Appender::File
log4perl.appender.foofile.filename = logs/foo.log
log4perl.appender.foofile.mode = append
log4perl.appender.foofile.layout = PatternLayout
log4perl.appender.Logfile.filename = test.log
...
then find the Logfile appender via
my $app = Log::Log4perl-appender_by_name(Logfile);
and to obtain the name of the logfile it's using, call its 'filename'
method:
print $app-filename(), \n;
-- Mike
Mike Schilli
[EMAIL PROTECTED]
Nonethless, I think
1 - 100 of 103 matches
Mail list logo