diff extensions/rt_ereg/rtereg_conf.l @ 1387:d70f5f6cb306

rt_ereg: improve logging and locking
author Thomas Klausner <tk@giga.or.at>
date Tue, 15 Oct 2019 16:25:47 +0200
parents 1af09cc156d6
children 566bb46cc73f
line wrap: on
line diff
--- a/extensions/rt_ereg/rtereg_conf.l	Fri Aug 02 20:46:18 2019 +0200
+++ b/extensions/rt_ereg/rtereg_conf.l	Tue Oct 15 16:25:47 2019 +0200
@@ -80,7 +80,7 @@
 				/* Match a quoted string. */
 				CHECK_MALLOC_DO( yylval->string = strdup(yytext+1), 
 				{
-					TRACE_DEBUG(INFO, "Unable to copy the string '%s': %s", yytext, strerror(errno));
+					LOG_E("[rt_ereg] unable to copy the string '%s': %s", yytext, strerror(errno));
 					return LEX_ERROR; /* trig an error in yacc parser */
 				} );
 				yylval->string[strlen(yytext) - 2] = '\0';
"Welcome to our mercurial repository"