Goal: have a logger with no appenders normally used for
trace-level output that would swamp the system:

    my $hugely_verbose_logger = L::L4p->get_logger
    (
        'VERBOSE::' . __PACKAGE__
    );

    ...

    $huggely_verbose_logger->trace( ... );

Our config's are in a static configuration, so I need
to find some way of specifying:

    log4perl.appender.VERBOSE = # i.e., nada, no appenders by default


Looking through all of the appenders, I cannot
find a "no-op" (vs. one that has the overhead of
formatting the data and then dumping it into
/dev/null after putting in the effort to format
the data). I also cannot seem to specify any
collection of values for appender that override
the root definition of screen.

Q: Is there any way to create a logger whose root
   has an appender for, say, the screen but whose
   "log4per.appender.VERBOSE = <whatever>" entry
   fully overrides this with no appenders at all?

thanx

-- 
Steven Lembark                                          +1 888 359 3508
Workhorse Computing                                       85-09 90th St
[EMAIL PROTECTED]                                 Woodhaven, NY 11421

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to