diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-02-14 12:56:02 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-02-14 12:56:02 +0000 |
commit | e36edd1c6074f882f11b5f47795dea8ba0460b4f (patch) | |
tree | d0c2a89aa4a34a3a0445cf13a30f54d2a3cfb0c3 /src/libserver/logger/logger_console.c | |
parent | ae55383e360503d272aa6b849368d3dd447c9754 (diff) | |
download | rspamd-e36edd1c6074f882f11b5f47795dea8ba0460b4f.tar.gz rspamd-e36edd1c6074f882f11b5f47795dea8ba0460b4f.zip |
[Minor] Further logging improvements
Diffstat (limited to 'src/libserver/logger/logger_console.c')
-rw-r--r-- | src/libserver/logger/logger_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/logger/logger_console.c b/src/libserver/logger/logger_console.c index 1bc91007a..b348aa929 100644 --- a/src/libserver/logger/logger_console.c +++ b/src/libserver/logger/logger_console.c @@ -228,7 +228,7 @@ rspamd_log_console_log (const gchar *module, const gchar *id, if (id != NULL) { guint slen = strlen (id); - slen = MIN (LOG_ID, slen); + slen = MIN (RSPAMD_LOG_ID_LEN, slen); mr = rspamd_snprintf (m, mremain, "<%*.s>; ", slen, id); m += mr; |