SafeAF / enterprise-log-search-and-archive

Automatically exported from code.google.com/p/enterprise-log-search-and-archive
0 stars 0 forks source link

Log4perl init #126

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I've found that web/lib/Util.pm squashes my scripts Log4perl configuration when 
I include API.pm to do queries against ELSA. I propose the following change to 
Util.pm to resolve this problem, this way if it's already been initialized it 
won't overwrite the config:

        if (not Log::Log4perl->initialized())
        {
                Log::Log4perl::init( \$log_conf ) or die("Unable to init logger\n");
        }

Original issue reported on code.google.com by and...@wolftrail.com on 22 Apr 2013 at 10:03

GoogleCodeExporter commented 8 years ago
Fixed in rev 798

Original comment by mchol...@gmail.com on 22 Apr 2013 at 10:14