mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
basic/log: fix log_trace()
log_trace() was always on. It's supposed to be opt-in.
This commit is contained in:
parent
b240c08d09
commit
e355fb6fb1
@ -216,7 +216,7 @@ int log_emergency_level(void);
|
||||
#define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__)
|
||||
#define log_emergency_errno(error, ...) log_full_errno(log_emergency_level(), error, __VA_ARGS__)
|
||||
|
||||
#ifdef LOG_TRACE
|
||||
#if LOG_TRACE
|
||||
# define log_trace(...) log_debug(__VA_ARGS__)
|
||||
#else
|
||||
# define log_trace(...) do {} while (0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user