X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fcfg%2Fcfg_syslog.h;h=5ee39c0f26c3020aced0fcc200d765caa476a2d6;hb=ebc977ffc34ec985c38414ada9b26ab28d4c2fc6;hp=922a5f7b4c6f1124760c4dd71c6e8025d25d27db;hpb=35c39bd8f2476c58349c66d0e3fc324744b533ba;p=bertos.git diff --git a/bertos/cfg/cfg_syslog.h b/bertos/cfg/cfg_syslog.h index 922a5f7b..5ee39c0f 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 = "autoenabled" */ -#define SYSLOG_LOG_LEVEL LOG_LVL_WARN +#define CONFIG_SYSLOG_NET 0 /** - * Module logging format. + * Log also on serial. * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "log_format" + * $WIZ$ type = "boolean" */ -#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 */