Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
logging: fix mtrace backend activation on IPC log enable
This patch addresses an issue where logs were not being collected after an IPC message when the mtrace autostart was disabled in regular builds. The problem was resolved by replacing `log_backend_activate` and `log_backend_deactivate` with `log_backend_enable` and `log_backend_disable`, respectively. These functions ensure that the backend is properly enabled with the initial maximum filtering level and disabled when necessary. This change ensures that logging behavior aligns with the intended configuration, allowing logs to be collected as expected after an IPC message. Signed-off-by: Tomasz Leman <[email protected]>
- Loading branch information