projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b83b1f4
)
create a log record when reading an action, filter or trust file.
author
Lee
<ler762@users.sourceforge.net>
Wed, 26 May 2010 23:01:47 +0000
(23:01 +0000)
committer
Lee
<ler762@users.sourceforge.net>
Wed, 26 May 2010 23:01:47 +0000
(23:01 +0000)
actions.c
patch
|
blob
|
history
loaders.c
patch
|
blob
|
history
diff --git
a/actions.c
b/actions.c
index
d88d9e3
..
d7212c6
100644
(file)
--- a/
actions.c
+++ b/
actions.c
@@
-1,4
+1,4
@@
-const char actions_rcs[] = "$Id: actions.c,v 1.5
7 2009/04/04 18:13:51
fabiankeil Exp $";
+const char actions_rcs[] = "$Id: actions.c,v 1.5
8 2009/05/16 13:27:20
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/actions.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/actions.c,v $
@@
-1102,6
+1102,8
@@
static int load_one_actions_file(struct client_state *csp, int fileid)
return 1; /* never get here */
}
return 1; /* never get here */
}
+ log_error(LOG_LEVEL_INFO, "Loading actions file: %s", csp->config->actions_file[fileid]);
+
while (read_config_line(buf, sizeof(buf), fp, &linenum) != NULL)
{
if (*buf == '{')
while (read_config_line(buf, sizeof(buf), fp, &linenum) != NULL)
{
if (*buf == '{')
diff --git
a/loaders.c
b/loaders.c
index
85c8d29
..
d68b40d
100644
(file)
--- a/
loaders.c
+++ b/
loaders.c
@@
-1,4
+1,4
@@
-const char loaders_rcs[] = "$Id: loaders.c,v 1.7
3 2009/05/16 13:27:20
fabiankeil Exp $";
+const char loaders_rcs[] = "$Id: loaders.c,v 1.7
4 2009/09/26 13:29:57
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/loaders.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/loaders.c,v $
@@
-877,6
+877,7
@@
int load_trustfile(struct client_state *csp)
{
goto load_trustfile_error;
}
{
goto load_trustfile_error;
}
+ log_error(LOG_LEVEL_INFO, "Loading trust file: %s", csp->config->trustfile);
tl = csp->config->trust_list;
tl = csp->config->trust_list;
@@
-1160,6
+1161,8
@@
int load_one_re_filterfile(struct client_state *csp, int fileid)
goto load_re_filterfile_error;
}
goto load_re_filterfile_error;
}
+ log_error(LOG_LEVEL_INFO, "Loading filter file: %s", csp->config->re_filterfile[fileid]);
+
/*
* Read line by line
*/
/*
* Read line by line
*/