# HG changeset patch # User Sebastien Decugis # Date 1399824979 -28800 # Node ID abf1e51047a113d3e5907a006e59709cee318b86 # Parent 285287f22041271735ce58b7f41fbd475a35c648 Display errors in app_acct at error level diff -r 285287f22041 -r abf1e51047a1 extensions/app_acct/acct_conf.y --- 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;