Mercurial > hg > freeDiameter
changeset 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 | 285287f22041 |
children | 4ca14a36ae66 f6ad5596aac7 |
files | extensions/app_acct/acct_conf.y |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
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;