I am not sure what you mean?
The data is stored in a config file. I could override this in my perl to over write the values in Log::Dispatch::Config->instance()->{'outputs'}->{'file'}->{'filename'} but this defeats the point of using the file. The intention is to allow users to edit the logger.conf file to change settings rather than having them hard coded.
I am looking for a method of telling the log::dispatch::Config to use the env var to set the filename. I was hoping that the value read back from the file would be expanded when read and take the value of $HOST but instead the string is returned and I create a file called $host.log.
In reply to Re^2: using env vars in Log::Dispatch::Config config files
by Grafne
in thread using env vars in Log::Dispatch::Config config files
by Grafne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |