Univention Bugzilla – Bug 44928
New check `logcheck.py`
Last modified: 2020-07-03 20:51:08 CEST
Created attachment 8996 [details] nt-diagnostic-logcheck.patch This is a basic implementation of a `logcheck.py` for the diagnostic tool. This is inspired by several log-file checks by Julian Hupertz. We could improve this with proper markup in the diagnostic tool for structuring the output as a list of results and maybe coloring the error markers (ERROR, WARNING, BACKTRACE, ..). The first half of the file could be pulled out into something like `univention-logcheck` for a more general usage. This tool should maybe provide some sort of JSON output for usage in this diagnostic check or the new `univention-system-check`. Finally this needs discussion of what logfiles are worth examining and what constitutes a report-worthy error in which logfile.
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.