X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_syslog.h;fp=bertos%2Fcfg%2Fcfg_syslog.h;h=69bc990c7d828e3df75e126c1aeeee4ed1e20f63;hb=97e93eec653e38a04e94e5191bdbf5ea48edde96;hp=922a5f7b4c6f1124760c4dd71c6e8025d25d27db;hpb=e25abecb6a6ff52917d44d1331e5af831aeceb9c;p=bertos.git diff --git a/bertos/cfg/cfg_syslog.h b/bertos/cfg/cfg_syslog.h index 922a5f7b..69bc990c 100644 --- a/bertos/cfg/cfg_syslog.h +++ b/bertos/cfg/cfg_syslog.h @@ -39,19 +39,32 @@ #define CFG_SYSLOG_H /** - * Module logging level. + * Enable the net logging. * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "log_level" + * $WIZ$ type = "bool" */ -#define SYSLOG_LOG_LEVEL LOG_LVL_WARN +#define CONFIG_SYSLOG_NET 1 /** - * Module logging format. + * Enable the serial logging. * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "log_format" + * $WIZ$ type = "bool" */ -#define SYSLOG_LOG_FORMAT LOG_FMT_VERBOSE +#define CONFIG_SYSLOG_SERIAL 1 + +/** + * Destination port of log messages + * + * $WIZ$ type = "int" + */ +#define CONFIG_SYSLOG_PORT 514 + +/** + * Max log message length. + * + * $WIZ$ type = "int" + */ +#define CONFIG_SYSLOG_BUFSIZE 256 + #endif /* CFG_SYSLOG_H */