Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: 1d376cbf6fe3fbdf188c54ef936887e5354a6344
https://github.com/tribe29/checkmk/commit/1d376cbf6fe3fbdf188c54ef936887e53…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-12-08 (Tue, 08 Dec 2020)
Changed paths:
M cmk/gui/globals.py
M cmk/update_config.py
Log Message:
-----------
Cleanup URL prefix from cmk-update-config errors
The cmk-update-config script uses a RequestContext from the GUI
code which prefixes the ERROR (or above) log entries with the
URL
http://localhost/. This may be useful in the context of the
regular GUI, but not during the update script.
Quick fix this by introducing a flag. Obviously this should be
solved in a cleaner way, extracting all the log patching stuff
from the RequestContext.
Change-Id: I23a078a982639ae046e71a5c2d5e9b8685842576