Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
It would be beneficial to use the Log4Perl module as a option for generating output logs from the vcld daemon.
The idea would be to change the notify subroutine to call two new subroutines and pass the current inputs to them. One subroutine will be for the new Log4Perl module output, the other subroutine will be for the original logging.
The user should be able to enable or disable the logging of either one of these methods by setting values in the vcld.conf file.
The reason to create a new method for logging will be that this will provide the administrator with a flexible way to customize the output pattern of the log, location, and logging level of the output in a centralized configuration file. This will come in handy when pushing data to a centralized logging server where information is parsed out based on patterns.