hilli/log4perl/issues/72
*(ms) header_text now works with syswrite (reported by Tom Metro):
https://github.com/mschilli/log4perl/issues/73
Enjoy!
--
-- Mike Sc
#x27;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
--
Transf
or" );
$log->fatal( "fatal" );
But I had to first fix the strange encoding:
perl -p -i -e 's/\xc2\xa0/ /g' scriptname
Is this Windows or why are some spaces in your configuration encoded as "c2a0"?
-- Mike
Mike Schilli
m...@perlmeister.com
-
Somehow this got erroneously erased from the moderator list, reposting.
--
-- Mike
Mike Schilli
m...@perlmeister.com
James Pittman 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 file
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 Schi
https://github.com/mschilli/log4perl/issues/54
Enjoy!
--
-- Mike
Mike Schilli
m...@perlmeister.com
--
___
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
appenders, making
sure that Perl toggles the switch so that your utf8 strings get written
out as such.
-- -- Mike
Mike Schilli
m...@perlmeister.com
In my log4perl config file I have a very simple screen appender.
log4perl.appender.screenAppender =
Log::Lo
h has
remove_tree() (fixes test suite for ancient perl-5.6.2).
* Brian Wightman fixed temporary file cleanup in the test
suite for Win32: https://github.com/mschilli/log4perl/pull/45
Enjoy!
--
-- Mike
Mike Schilli
m...@perlmeiste
t;put('sx_Appl', 'BCOM');
Log::Log4perl::MDC->put('sx_Inst', 'AMH');
my $logger = get_logger("Bar::Twix");
$logger->warn("Blah”);
--
-- Mike
Mike Schilli
m...@perlmeister.com
The Tivoli log file adapter reads a file where
33) from CPAN, 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 &
Log::Log4perl::Layout::PatternLayout
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
"Grap
/pull/39. New FAQ entry
on Win32 log file cleanup.
Enjoy!
-- -- Mike
Mike Schilli
m...@perlmeister.com
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definiti
environment or package
> variable, whether carp or cluck is used to generate any warnings in
> order to facilitate problem resolution.
That'd be a nice addition to Carp.pm :).
--
-- Mike
Mike Schilli
m...@perlmeister.com
--
cfa
Good enough?
--
-- 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
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...
Hi Dave,
you're defining different loggers, but what you really want is define
different appenders attached to a single logger.
A logger has a category ("" or "main" or "Foo::Bar"), which determines
which package namespace to accept messages from, and a set of appenders
which it forwards the mess
he first place, but install a separate
one via perlbrew et al.
> I don't see liblog-log4perl-perl on Debian Backports.
Later versions of Debian seem to have more up-to-date versions of
Log4perl:
http://packages.debian.org/sid/liblog-log4perl-perl
--
-- Mike
Mike Schilli
m...@perlmei
line number checks (and coping with 5.19 buggy
line numbering, cough, cough).
It'll hit CPAN momentarily.
Enjoy!
--
-- Mike
Mike Schilli
m...@perlmeister.com
--
See everything from the browser to
there, I'm sure you'll get
what you expect:
http://log4perl.sourceforge.net/releases/Log-Log4perl/docs/html/Log/Log4perl/FAQ.html#a6c81
--
-- Mike
Mike Schilli
m...@perlmeister.com
#!/usr/bin/perl
use strict;
use warnings;
use Log::Log4perl;
my $log_conf
tting the appender's threshold when what you really
want is setting the logger's level instead. Doesn't
my $logger = Log::Log4perl::get_logger('');
# ...
$logger->level( $DEBUG );
do what you have in mind?
-- -- Mike
Mike Schilli
m...@perlmeis
.org 84289] Documented Level.pm's isGreaterOrEqual()
comparator.
*(ms) [rt.cpan.org #84725] Fixed test suite to allow running tests
in parallel via HARNESS_OPTIONS=j10:c HARNESS_TIMER=1.
Reported by Brendan Byrd.
Enjoy!
--
-- Mike
ps://github.com/mschilli/log4perl/commit/c4d5f2d32095142ca6064d0c9564504fbcd61e1c
Thanks for the note!
-- -- Mike
Mike Schilli
m...@perlmeister.com
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data.
equest
[1]! That way, you can directly contribute to the project. But I'll happily
apply more fixes manually if you have any!
[1] https://help.github.com/articles/using-pull-requests
--
-- Mike
Mike Schilli
m...@perlmeister.com
4perl/
, that need an update:
Fixed also:
https://github.com/mschilli/log4perl/commit/d863b2c8c3dbce1924ccfb9e78c98f0856b228c5
Thanks for pointing this out.
--
-- Mike
Mike Schilli
m...@perlmeister.com
Again Ceki Gülcü's "Short introduction to log4j",
and if you wa
RR.
If those messages aren't 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.
o I can take a look?
--
-- Mike
Mike Schilli
m...@perlmeister.com
Marc
On Sun, Mar 17, 2013 at 8:32 PM, Mike Schilli wrote:
On Sat, 16 Mar 2013, Marc Zampetti wrote:
So basically the question I have is that I need to
reset and
re-configure the log
ssage in place, but I agree that the fact that it always produces
an array ref isn't helpful. Maybe we need another preprocess hook for
appenders in Log4perl.
--
-- Mike
Mike Schilli
m...@perlmeister.com
--
" and "overwrite" the
current configuration, which in this case I want.
Can you try if calling
Log::Log4perl->reset()
before calling init() the second time fixes the problem?
-- -- Mike
Mike Schilli
m...@perlmeister.com
In the test suite,
I hope that helps.
On Sat, Mar 1
our changes and send a pull request.
Let me know if you need more detailed instructions.
--
-- Mike
Mike Schilli
m...@perlmeister.com
> email address as appender and filter on a MDC value (the support group
> which maps to each team). Should I release it to CPAN as separate
> di
uot;,
'name' => 'screenlog',
'stderr' => 1,
);
--
-- Mike
Mike Schilli
m...@perlmeister.com
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HT
u need to call
init() beforehand.
> Also, once I have an $appender object, will ->filename() provide only
> the filename, or also its path?
You'll get the exact value as specified in the configuration. It could
be an absolute path or a relative path or a filename (relative to
cwd()).
yway, if you want access to the file appender's filename, you need to change
the line
> Log::Log4perl->appender_by_name(
> 'log4perl.appender.A1.filename');
to something like
my $appender = Log::Log4perl->appender_by_name( 'A1' );
to "cygwin" and not
to "Win32". Modified check to catch both.
* (ms) Fixed unescaped brace in regex that perl 5.17.4 was complaining
about.
Enjoy!
--
-- Mike
Mike Schilli
m...@perlmeister.com
or a subclass thereof) return an Log::Log4perl::Logger
> object whereas I expected, but could not get, a Foo::Bar or
> Foo::Bar::Logger object.
Hmm, I didn't quite get what you meant there, can you elaborate on what
you're trying to accomplish?
--
-- Mike
Mike Schilli
m...@perlmei
gger's category,
I've added one just now:
https://github.com/mschilli/log4perl/commit/67360dc96380a878a267c4f434dd8b6c7d2a4031
To work around the limitation, you can use $logger->{category} till it
rolls out with the next release.
Thanks for bringing this issue to my attention.
Updated license/copyright/author sections in all files using
licensizer and .licensizer.yml.
*(ms) Skipped log file recreation test on Win32 as it won't remove
busy files anyway.
It should soon be available on your local CPAN mirror.
Enjoy!
--
--
/33a34e0ea50fc785376abc9456bd7711193ba29e
Let me know if it works for you ...
--
-- Mike
Mike Schilli
m...@perlmeister.com
Markus
-Ursprüngliche Nachricht-
Von: Mike Schilli [mailto:m...@perlmeister.com]
Gesendet: Donnerstag, 18. Oktober 2012 09:29
An: BENNING, Markus
Cc: log4perl-devel
ns that do just what
> the Carp functions do, 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 stringi
t was intentional 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 i
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
perl/commit/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
g4perl/commit/b60c85acb482095a5d1939c2a25e64653f3c3624
--
-- Mike
Mike Schilli
m...@perlmeister.com
I have though an issue with one passage in the documentation. In the CPAN page
Log::Log4perl (Ver. 1.37)
(http://search.cpan.org/~mschilli/Log-Log4perl-1.37/lib/Log/Log4perl.pm) one
can read
,
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
uld never be a panic situation, except if there's a bug
in perl itself.
You might want to write up a reproducable script, and file a bug with
perl via perlbug (which adds your complete perl -V build information for
reference).
--
-- Mike
Mike Schilli
m...@perlmeister.com
>
> That lin
and the reset 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
system.
I wonder why you're not simply using init_and_watch() and modify the
external config file to regularly check and reload it?
--
-- Mike
Mike Schilli
m...@perlmeister.com
> hello -
>
> i'm currently running log4perl inside an embedded instance, for all
> intents and
ct!
--
-- Mike
Mike Schilli
m...@perlmeister.com
>
> if you think there are any issues w/ that approach, please let me know.
>
> thanks!
>
> --
> -jae
>
>
>
>
> On 2/23/12 11:22 PM, "Mike Schilli" wrote:
>
>> On Thu,
gt; Foo generates.
Sounds like you want to set a threshold, check out this recipe:
http://search.cpan.org/dist/Log-Log4perl/lib/Log/Log4perl/FAQ.pm#How_can_I_send_errors_to_the_screen,_and_debug_messages_to_a_file?
Let me know if that helps ...
--
-- Mike
Mike Schilli
m...@perlmeister.com
ble decision to
add a trailing dot to its messages.
Enjoy!
--
-- Mike
Mike Schilli
m...@perlmeister.com
--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cl
ings.
Oh, I see, you're talking about Log4perl's Screen appender issuing a
Perl warning about wide characters? That's caused by log functions
writing messages including utf8 characters and if the appender isn't
configured to log in utf8, Perl issues a warning. To fix this, use
it only if the log level conditions are met.
(ms) [rt.cpan.org #73598] Gerda Shank reported test suite
problems with DBD::CSV-0.26. Bumped up to DBD::CSV-0.33 if installed.
Enjoy!
--
-- Mike
Mike Schilli
m...@perlmeister.com
ing a problem this morning only to discover this. I
>>> find this most worrying as I'd expect the warn to happen whatever. If you
>>> substitute logdie for die it seems to work.
>>>
>>> perl -MLog::Log4perl -le 'print $Log::Log4perl::VERSION;'
>&
ope that makes sense!
--
-- Mike
Mike Schilli
m...@perlmeister.com
I'm using log4perl in FCGI scripts that are semi-persistent, they go up and
down depending on load.
I have an appender that sends email and I'd like it to be buffered. However
if I set it to buffered the emails are never s
WARN.
logdie(), on the other hand, will call die() unconditionally, because
it's an action, not only a message.
-- -- Mike
Mike Schilli
m...@perlmeister.com
> Hi,
>
> Is this really the intended behaviour:
>
> perl -w -le 'use strict;use warnings;use Log::Log4perl qw(ge
!
--
-- Mike
Mike Schilli
m...@perlmeister.com
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
log4perl-devel mailing list
On Tue, 25 Oct 2011, Mike Schilli wrote:
> the delay on this ... this snippet doesn't compile for me
> because $cfg isn't defined
Gah, I had a missing module, never mind. The wrapper registration seems
to work, though, here's the output of the script below:
2011/1
class as indicated in the documentation.
Sorry for the delay on this ... this snippet doesn't compile for me
because $cfg isn't defined ... can you please check if you're missing
a piece (please enable use strict/use warnings).
--
-- Mike
Mike Schilli
m...@perlmeister.com
I'm not sure
of email.
I'd say that the warning you're seeing is expected.
It's consistent with what you'd see with print(), if you try out
use warnings;
my $a;
print "$a\n";
you'll get the same message.
And you've enabled warnings, right? :)
--
-- Mike
Mike Sc
s explained here:
http://search.cpan.org/dist/Log-Log4perl/lib/Log/Log4perl.pm#Using_Log::Log4perl_with_wrapper_functions_and_classes
--
-- Mike
Mike Schilli
m...@perlmeister.com
> On 09/26/2011 10:14 AM, Mike Schilli wrote:
>> Actually, :easy mode macros and get_logger() are iden
like DEBUG 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 mod
Log::Log4perl::Filter manpage explains their use in detail.
Hope that helps!
--
-- Mike
Mike Schilli
m...@perlmeister.com
> log4perl-devel:
>
> I'm working on a web application and would like to log TRACE priority
> messages related to hits from my development machine (IP addr
::File instead? Also,
make sure you're using the latest Log4perl from CPAN.
--
-- Mike
Mike Schilli
m...@perlmeister.com
The error I get is "undefined value provided for log level at
C:/strawberry/perl/site/lib/Log/Log4perl/Appender.pm line 80".
I've extracted some lines
ertain values via MDC and your Log4perl layout
can be configured to display the set value via the %X{name} placeholder
in all your messages, without the need to touch the code of the
application.
Hope that helps.
-- -- Mike
Mike Schilli
on that does both, change the data structure 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
27;re getting
instead, 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
On Tue, 26 Jul 2011, Robert Rothenberg wrote:
> I've tried changing the threshold for the shared log to INFO
> log4perl.appender.SharedLog.Treshold = INFO
If you fix the typo ("Treshold" => "Threshold"), that's exactly the
recommended way to accomplish what
you did with the "SCRIPT"
logger in Logging.pm). After doing this, you'll see
[2011-07-23 19:50:03] script.pl INFO: Calling logTest()
[2011-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: e
/issues/7), so I put on my
hazmat suit and cleaned it up. Now perl's garbage collector takes care
of disposing of logger and appender carcasses.
* (ms) Added Log::Log4perl->remove_logger($logger) to remove
a logger from the system.
Enjoy!
-- Mike
Mike Schilli
m...@perlmei
ender, which you can do after retrieving 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
---
ost a snippet of code to reproduce this problem?
-- Mike
Mike Schilli
m...@perlmeister.com
--
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is
ch.cpan.org/~apeiron/local-lib-1.008004/lib/local/lib.pm
Alternatively, you can set the LIB variable when running Makefile.PL:
perl Makefile.PL LIB=/home/mike/perl_modules
Hope that helps!
-- Mike
Mike Schilli
m...@perl
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...@perl
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
.. just checked the sourceforge
directory and it contains the Log4perl 1.31 ppm. Looks like this was
a temporary error, let me know if it persists.
-- Mike
Mike Schilli
m...@perlmeister.com
>
> I executed the following command. But it throws the following error and i
> can't the insta
help("blah"); }
package main;
use Log::Log4perl qw(:easy);
Log::Log4perl->easy_init({layout=>'%c %m %n'});
DEBUG(__FILE__, "-", __LINE__);
Helper::help(__FILE__, "-", __LINE__);
Foo::foo();
-- Mike
Mike Schilli
m...@perlmei
ote that if you're using
qw(:easy), you need to use
package Helper;
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 th
nt "The value is $value.\n";
where I would expect a warning if $value was undefined.
The warning should point me to the location of
the actual INFO call and not to somewhere within the guts of Log4perl,
though ... :)
-- Mike
Mike Schilli
m...@perlmeister.com
> This is kind of ann
new
instance. We could implement an object method that does what you've
suggested, can you post some code to display how your class hierarchy
looks like and how you call the metods of the derived class from your
application?
-- Mike
Mike Schilli
m...@perlmeister.com
---
ion?
Everything I've seen so far is just plain confusing to the end user. I'm
open to ideas, however.
-- Mike
Mike Schilli
m...@perlmeister.com
--
Beautiful is writing same markup. Internet Explorer 9 supports
sta
ppender.App = NeverDieFileAppender
log4perl.appender.App.filename = out.dat
log4perl.appender.App.layout = PatternLayout
log4perl.appender.App.layout.ConversionPattern = %F-%L: %m%n
});
DEBUG "waah";
-- Mike
Mike Schilli
m...@perlmeister.com
need to use the 'additivity' flag as described here:
http://search.cpan.org/dist/Log-Log4perl/lib/Log/Log4perl/FAQ.pm#I_keep_getting_duplicate_log_messages!_What%27s_wrong?
-- Mike
Mike Schilli
m...@perlmeister.com
enjoy!
-- Mike
Mike Schilli
m...@perlmeister.com
--
Nokia and AT&T 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 to
$log_dispatch_level to create_custom_level(). Updated
documentation.
Thanks to all contributors!
-- Mike
Mike Schilli
m...@perlmeister.com--
This SF.net Dev2Dev email is sponsored by:
Show off your parallel
time, is obtain a reference to the file appender the configuration
uses (or add another file appender via perl code) and use the file
appender's file_switch( $newfile ) mode to point it to a newly created
file.
This might surprise your users, though, so be warned.
-- Mike
Mike Schill
On Tue, 17 Aug 2010, Mahesh Shinde wrote:
> Thanks and Regards, Mahesh Shinde
It would help us diagnose the problem if you send the commands you used
to install Log::Log4perl and the error message(s) you received.
-- Mike
Mike Schilli
m...@perlmeister.
andalone script 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
o
hed). I'll make better docs ASAP.
Hi Tomá,
interesting idea, but I think this module could stand on its own and
isn't necessarily related to Log4perl. How about you add documentation
and push it to CPAN under, say, Collectd::Complaint ?
-- Mike
Mike Sch
nsiderably complicate things. But thanks for the
suggestion!
-- Mike
Mike Schilli
m...@perlmeister.com--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/fir
pender destructor won't run and
you need to run file_close() manually.
Hope that helps!
-- Mike
Mike Schilli
m...@perlmeister.com
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the firs
Added 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...@perlmeiste
Forwarding Steve's answer to the list ...
-- Mike
Mike Schilli
m...@perlmeister.com
-- Forwarded message --
From: Steve
To: Mike Schilli
Subject: Re: [log4perl-devel] DBIC Object not interpreted
Date: Tue, 11 May 2010 08:15:17 -0400
On 5/11/2010 1:25 AM, Mike Schilli
package main;
use Log::Log4perl qw(:levels get_logger);
Log::Log4perl->easy_init($DEBUG);
my $logger = get_logger();
my $wobble = Wobble->new();
$log
so here it is:
The log4perl FAQ describes this scenario in
"How can I send errors to the screen, and debug messages to a file?"
http://search.cpan.org/dist/Log-Log4perl/lib/Log/Log4perl/FAQ.pm#How_can_I_send_errors_to_the_screen,_and_debug_messages_to_a_file?
-- Mike
Mike Schi
t it, I end up
with doubly-encoded characters in the log file (no warning, though).
Tested with perl-5.10.0 and perl-5.10.1.
-- Mike
Mike Schilli
m...@perlmeister.com
>
>
>
> use threads;
>
> use threads::shared;
>
> use Log::Log4perl qw(get_logger);
>
> Log
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...@perl
nce to a subroutine to Log4perl's 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
---
- Mike
Mike Schilli
m...@perlmeister.com
--
Download Intel® 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, 1 Apr 2010, Rob Retter wrote:
> I'm not entirely sure, but I think there may be something wrong with
> logdie() and company
Yeah, definitely a bug in logdie(), I'll take care of it, thanks for
your report!
-- Mike
Mike Schilli
m...
github.com/mschilli/log4perl/commit/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
ook into making the macros
work with Catalyst.
-- Mike
Mike Schilli
m...@perlmeister.com
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tu
1 - 100 of 271 matches
Mail list logo