Rephrase a log message in compile_dynamic_pcrs_job_list()
authorFabian Keil <fk@fabiankeil.de>
Tue, 8 Mar 2011 18:32:11 +0000 (18:32 +0000)
committerFabian Keil <fk@fabiankeil.de>
Tue, 8 Mar 2011 18:32:11 +0000 (18:32 +0000)
Devide the error code and its meaning with a colon.

Call the pcrs job dynamic and not the filter. Filters may
contain dynamic and non-dynamic pcrs jobs at the same time.
Only mention the name of the filter or tagger, but don't
claim it's a filter when it could be a tagger.

filters.c

index 8849be2..dd554ba 100644 (file)
--- a/filters.c
+++ b/filters.c
@@ -1,4 +1,4 @@
-const char filters_rcs[] = "$Id: filters.c,v 1.139 2011/03/03 14:46:37 fabiankeil Exp $";
+const char filters_rcs[] = "$Id: filters.c,v 1.140 2011/03/03 14:47:28 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/filters.c,v $
@@ -1003,7 +1003,7 @@ pcrs_job *compile_dynamic_pcrs_job_list(const struct client_state *csp, const st
       if (NULL == dummy)
       {
          log_error(LOG_LEVEL_ERROR,
-            "Adding filter job \'%s\' to dynamic filter %s failed: %d %s",
+            "Compiling dynamic pcrs job '%s' for '%s' failed with error code %d: %s",
             pattern->str, b->name, error, pcrs_strerror(error));
          continue;
       }