Mercurial > hg > freeDiameter
diff extensions/app_acct/acct_conf.y @ 1264:abf1e51047a1
Display errors in app_acct at error level
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Mon, 12 May 2014 00:16:19 +0800 |
parents | 1af09cc156d6 |
children | 25fad6714991 |
line wrap: on
line diff
--- a/extensions/app_acct/acct_conf.y Sun May 11 22:37:15 2014 +0800 +++ b/extensions/app_acct/acct_conf.y Mon May 12 00:16:19 2014 +0800 @@ -176,14 +176,14 @@ /* Function to report the errors */ void yyerror (YYLTYPE *ploc, char * conffile, char const *s) { - TRACE_DEBUG(INFO, "Error in configuration parsing"); + LOG_E( "Error in configuration parsing"); if (ploc->first_line != ploc->last_line) - fd_log_debug("%s:%d.%d-%d.%d : %s", conffile, ploc->first_line, ploc->first_column, ploc->last_line, ploc->last_column, s); + LOG_E("%s:%d.%d-%d.%d : %s", conffile, ploc->first_line, ploc->first_column, ploc->last_line, ploc->last_column, s); else if (ploc->first_column != ploc->last_column) - fd_log_debug("%s:%d.%d-%d : %s", conffile, ploc->first_line, ploc->first_column, ploc->last_column, s); + LOG_E("%s:%d.%d-%d : %s", conffile, ploc->first_line, ploc->first_column, ploc->last_column, s); else - fd_log_debug("%s:%d.%d : %s", conffile, ploc->first_line, ploc->first_column, s); + LOG_E("%s:%d.%d : %s", conffile, ploc->first_line, ploc->first_column, s); } static struct acct_conf_avp avpdata;