diff --git a/include/common/defaults.h b/include/common/defaults.h index 5508314cb..6e5840ee0 100644 --- a/include/common/defaults.h +++ b/include/common/defaults.h @@ -48,6 +48,10 @@ #define CAPTURE_LEN 64 #endif +#ifndef MAX_SYSLOG_LEN +#define MAX_SYSLOG_LEN 1024 +#endif + // maximum line size when parsing config #ifndef LINESIZE #define LINESIZE 2048 diff --git a/include/types/log.h b/include/types/log.h index 8ee8d7c64..b3288bd69 100644 --- a/include/types/log.h +++ b/include/types/log.h @@ -28,7 +28,6 @@ #include #include -#define MAX_SYSLOG_LEN 1024 #define NB_LOG_FACILITIES 24 #define NB_LOG_LEVELS 8 #define SYSLOG_PORT 514