projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2b9f7cb
)
Convert a couple of additional messages to log level "Tagging"
author
Fabian Keil
<fk@fabiankeil.de>
Tue, 15 Dec 2020 11:01:05 +0000
(12:01 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Thu, 17 Dec 2020 14:13:56 +0000
(15:13 +0100)
parsers.c
patch
|
blob
|
history
diff --git
a/parsers.c
b/parsers.c
index
185db7d
..
bef3ca9
100644
(file)
--- a/
parsers.c
+++ b/
parsers.c
@@
-1488,7
+1488,7
@@
static jb_err header_tagger(struct client_state *csp, char *header)
if (NULL == joblist)
{
if (NULL == joblist)
{
- log_error(LOG_LEVEL_
RE_FILTER
,
+ log_error(LOG_LEVEL_
TAGGING
,
"Tagger %s has empty joblist. Nothing to do.", b->name);
continue;
}
"Tagger %s has empty joblist. Nothing to do.", b->name);
continue;
}
@@
-1535,14
+1535,14
@@
static jb_err header_tagger(struct client_state *csp, char *header)
* no one would do it intentionally.
*/
freez(tag);
* no one would do it intentionally.
*/
freez(tag);
- log_error(LOG_LEVEL_
INFO
,
+ log_error(LOG_LEVEL_
TAGGING
,
"Tagger \'%s\' created an empty tag. Ignored.", b->name);
continue;
}
if (list_contains_item(csp->action->multi[ACTION_MULTI_SUPPRESS_TAG], tag))
{
"Tagger \'%s\' created an empty tag. Ignored.", b->name);
continue;
}
if (list_contains_item(csp->action->multi[ACTION_MULTI_SUPPRESS_TAG], tag))
{
- log_error(LOG_LEVEL_
HEADER
,
+ log_error(LOG_LEVEL_
TAGGING
,
"Tagger \'%s\' didn't add tag \'%s\': suppressed",
b->name, tag);
freez(tag);
"Tagger \'%s\' didn't add tag \'%s\': suppressed",
b->name, tag);
freez(tag);
@@
-1575,7
+1575,7
@@
static jb_err header_tagger(struct client_state *csp, char *header)
action_message = "No action bits update necessary.";
}
action_message = "No action bits update necessary.";
}
- log_error(LOG_LEVEL_
HEADER
,
+ log_error(LOG_LEVEL_
TAGGING
,
"Tagger \'%s\' added tag \'%s\'. %s",
b->name, tag, action_message);
}
"Tagger \'%s\' added tag \'%s\'. %s",
b->name, tag, action_message);
}
@@
-1583,7
+1583,7
@@
static jb_err header_tagger(struct client_state *csp, char *header)
else
{
/* XXX: Is this log-worthy? */
else
{
/* XXX: Is this log-worthy? */
- log_error(LOG_LEVEL_
HEADER
,
+ log_error(LOG_LEVEL_
TAGGING
,
"Tagger \'%s\' didn't add tag \'%s\'. Tag already present",
b->name, tag);
}
"Tagger \'%s\' didn't add tag \'%s\'. Tag already present",
b->name, tag);
}