aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/logger/logger_private.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-02-14 12:56:02 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-02-14 12:56:02 +0000
commite36edd1c6074f882f11b5f47795dea8ba0460b4f (patch)
treed0c2a89aa4a34a3a0445cf13a30f54d2a3cfb0c3 /src/libserver/logger/logger_private.h
parentae55383e360503d272aa6b849368d3dd447c9754 (diff)
downloadrspamd-e36edd1c6074f882f11b5f47795dea8ba0460b4f.tar.gz
rspamd-e36edd1c6074f882f11b5f47795dea8ba0460b4f.zip
[Minor] Further logging improvements
Diffstat (limited to 'src/libserver/logger/logger_private.h')
-rw-r--r--src/libserver/logger/logger_private.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libserver/logger/logger_private.h b/src/libserver/logger/logger_private.h
index 23361e38d..4b0dbfef5 100644
--- a/src/libserver/logger/logger_private.h
+++ b/src/libserver/logger/logger_private.h
@@ -19,7 +19,6 @@
/* How much message should be repeated before it is count to be repeated one */
#define REPEATS_MIN 3
#define REPEATS_MAX 300
-#define LOG_ID 6
#define LOGBUF_LEN 8192
struct rspamd_log_module {
@@ -39,7 +38,7 @@ struct rspamd_logger_error_elt {
GQuark ptype;
pid_t pid;
gdouble ts;
- gchar id[LOG_ID + 1];
+ gchar id[RSPAMD_LOG_ID_LEN + 1];
gchar module[9];
gchar message[];
};