Only problem is i keep getting an error about Bearkly DB3 Libraries when trying to recompile SG. Found some half posts on the mailing lists but none that give a real answer.
Rob
At 09:39 21/01/2004 -0700, you wrote:
Hello,
[EMAIL PROTECTED] wrote: > > When ever squidGuard starts it creates log entries for each redirector. > This makes logs quite long and confusing. Can this be surprressd.
Look for this code in sgDb.c, and comment out the call to sgLogError:
<snip> if(stat(dbfile,&st) == 0){ if(!createdb){ sgLogError("loading dbfile %s",dbfile); <snip>
This will take care of the "loading dbfile" entries.
Then there is some code farther down:
<snip> sgLogError("create new dbfile %s",dbfile); <snip>
comment this line, and suppress notification about creating the db files.
You will have to recompile :)
I have completely hacked squidGuard to not use the Berkeley DB style databases, but to use MySQL instead, so I don't even call the the sgDb routines any more. I have written my own module for creating the redirector, since SquidGuard was too convoluted and slow, so i don't really remember the entries in the log file related to redirector entries.
Hope this helps, Murrah Boswell
> > Thanks > > Robin
