Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: fc7c70efce070c1f3d30215ccd5037664485e421
https://github.com/Checkmk/checkmk/commit/fc7c70efce070c1f3d30215ccd5037664…
Author: Maximilian Wirtz <maximilian.wirtz(a)checkmk.com>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M cmk/utils/log/_log.py
M cmk/utils/log/security_event.py
M cmk/utils/paths.py
Log Message:
-----------
Fix security logging path
Not exactly sure why it works currently... But when I wanted to use this
in omdlib it failed, because var/log/var/log/security.log did not exist.
And the failure is more reasonable.
The problem though was the mocking. In the unittests we apparently set
the paths to a temppath in `patch_omd_site` but that happens after we
had the import of log_dir in the `_log.py` file so that variable was
never mocked... That cost me more time than I want to admit so I add
this notice here...
Change-Id: I6c897e628074cb87ea5aa779058135ca90e4d534
Commit: 9a7b870fc37278e1fc48d22c9ddce7b0cd1dfc71
https://github.com/Checkmk/checkmk/commit/9a7b870fc37278e1fc48d22c9ddce7b0c…
Author: Maximilian Wirtz <maximilian.wirtz(a)checkmk.com>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M cmk/utils/log/security_event.py
M omd/packages/omd/omdlib/init_scripts.py
Log Message:
-----------
Log Site start/stop
Change-Id: I5575ac9300130047e37efd2b32d6937ca32e5c8d
Compare:
https://github.com/Checkmk/checkmk/compare/96b038f6fd44...9a7b870fc372