in reply to using env vars in Log::Dispatch::Config config files
Maybe you can set most of your parameters in the config file, and just this one in your Perl code.my $log = Log::Dispatch->new( outputs => [ [ filename => "log/$ENV{HOST}.log" ], ], );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: using env vars in Log::Dispatch::Config config files
by Grafne (Initiate) on Jun 26, 2012 at 09:33 UTC |