The source code reference inside the config file I actually took from an example in some Perl documentation and it seemed to fit well with my requirements.
I am looking to use log4perl in a bit of a different way I think, in that I am not looking at setting up logging for a system. I want to track, record, email on error the results of each run of individual scripts. Our scripts are used to supplement and automate an in-house software package. Each main script is really standing alone as a separate function when it is run and I want to be able to access/distribute the ouput of that run separately from any other run.
If you have any suggestions about a better way to implement this type of requirement, that would be great.
Thanks Chris
In reply to Re^2: log4perl - accessing logger in subscripts/subroutines?
by ck2021
in thread log4perl - accessing logger in subscripts/subroutines?
by ck2021
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |