From: Lee Date: Wed, 26 May 2010 23:01:47 +0000 (+0000) Subject: create a log record when reading an action, filter or trust file. X-Git-Tag: v_3_0_17~145 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=994e35d0510a22346d510eee39829f91a2f13387 create a log record when reading an action, filter or trust file. --- diff --git a/actions.c b/actions.c index d88d9e3c..d7212c6d 100644 --- a/actions.c +++ b/actions.c @@ -1,4 +1,4 @@ -const char actions_rcs[] = "$Id: actions.c,v 1.57 2009/04/04 18:13:51 fabiankeil Exp $"; +const char actions_rcs[] = "$Id: actions.c,v 1.58 2009/05/16 13:27:20 fabiankeil Exp $"; /********************************************************************* * * 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 */ } + 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 == '{') diff --git a/loaders.c b/loaders.c index 85c8d296..d68b40db 100644 --- a/loaders.c +++ b/loaders.c @@ -1,4 +1,4 @@ -const char loaders_rcs[] = "$Id: loaders.c,v 1.73 2009/05/16 13:27:20 fabiankeil Exp $"; +const char loaders_rcs[] = "$Id: loaders.c,v 1.74 2009/09/26 13:29:57 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/loaders.c,v $ @@ -877,6 +877,7 @@ int load_trustfile(struct client_state *csp) { goto load_trustfile_error; } + log_error(LOG_LEVEL_INFO, "Loading trust file: %s", csp->config->trustfile); 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; } + log_error(LOG_LEVEL_INFO, "Loading filter file: %s", csp->config->re_filterfile[fileid]); + /* * Read line by line */