Logging improvements for background tasks:
- 90c00b3abba0d15a2e6857469ea24fad00f95b0b make sync actions always
verbose, before the copy actions were only logged without context
They should be verbose only when requested as we've had requests to keep this quiet and it is a fast operation.
- 1a09c11eb2c546d53c366b26ab4acce96d3bc314 logging for creation of dhcp
and dns configurations
Not sure it's meaningful to log this?
- 9867963dc8eb11052ec3521c5baf18803fe826e9 log creation of pxe files
Do you mean creating PXE tree files? I'm not sure this one is wise, as we want to cut down on logging when doing tasks that don't need it. The files can already get pretty large and making sure log levels are appropriate and stuff is fairly important.
I created these patches during debugging why the dhcp configuration failed. Also the existing log in these parts is inconsistent. For example during a sync the removal of files from /tftpboot/pxelinux.cfg generate a log item. But the creation of new files doesn't generate a log item. The log item of creation of the pxe file is visible with updating a system.
For the verbosity there shall be a difference between verbosity on the console and verbosity to the log files. The log file verbosity shall be set using syslog configuration. The console verbosity Can be set using --verbose.
Peter
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.