|
/
Zope
/
Apsis
/
Pound Mailing List
/
Archive
/
2007
/
2007-01
/
Why pound logs to 2 files
[
load leveling among backends / John Madden ... ]
[
The PEM file / "Gray, Tom A [EQ]" ... ]
Why pound logs to 2 files
Zoong PHAM <zoong(at)zoong.com> |
2007-01-05 01:07:17 |
[ FULL ]
|
I just got my pound-2.2.1 installed on OpenBSD-3.6
It runs fine so far.
However there are 2 log files (/var/log/daemon and /var/log/pound)
contain logs about pound.
I want to have only 1 log file (/var/log/pound).
What configuration should I add or modify?
Here is part of my pound.cfg:
LogLevel 3
Daemon 1
LogFacility pound
Here is part of my syslogd.conf:
daemon.info /var/log/daemon
!pound
*.* /var/log/pound
And here are sample logs in my log files:
1) /var/log/pound
Jan 5 11:00:54 www pound: www.mysite.com 66.249.65.8 - -
[05/Jan/2007:11:00:53 +1100] "GET
/forum/viewtopic.php?p=521&sid=6e74dd0323759c8ae35982d41a63381c HTTP/1.1"
200 7579 "" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
Jan 5 11:01:03 www pound: www.mysite.com 203.162.3.157 - -
[05/Jan/2007:11:01:01 +1100] "GET / HTTP/1.1" 200 77911 "" "Mozilla/4.0
(compatible; MSIE 5.5; Windows NT 5.0) "
2) /var/log/daemon:
Jan 5 11:01:52 www pound: www.clientSite.net 58.186.142.125 - -
[05/Jan/2007:11:01:52 +1100] "GET /images/banners/banner2_link.swf HTTP/1.1"
304 - "" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322;
MEGAUPLOAD 1.0)"
Jan 5 11:01:52 www pound: www.clientSite.net 58.186.142.125 - -
[05/Jan/2007:11:01:52 +1100] "GET
/images/stories/LuomLatclientSite_6/caviar_1.jpg HTTP/1.1" 304 - "http://clientSite.net:8082/index.php"
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322;
MEGAUPLOAD 1.0)"
Jan 5 11:01:52 www pound: www.clientSite.net 58.186.142.125 - -
[05/Jan/2007:11:01:52 +1100] "GET /images/stories/DiachiVanhoa/tramvai_3.jpg
HTTP/1.1" 304 - "http://clientSite.net:8082/index.php"
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322;
MEGAUPLOAD 1.0)"
Thanks
Zoong
|
|
|
Re: [Pound Mailing List] Why pound logs to 2 files
Dave Steinberg <dave(at)redterror.net> |
2007-01-05 01:39:20 |
[ FULL ]
|
> Here is part of my pound.cfg:[...]
Log facilities can't just be made up, they had to be one of the
predefined ones on the system. That aside, in my /etc/syslog.conf, I have:
!!pound
*.* /var/log/pound
!*
Before the daemon.info declaration. It works fine on OpenBSD 4.0.
Regards,[...]
|
|
|
Re: [Pound Mailing List] Why pound logs to 2 files
Zoong PHAM <zoong(at)zoong.com> |
2007-01-05 01:57:10 |
[ FULL ]
|
On Thursday, 4 January 2007 at 19:39:20 -0500, Dave Steinberg wrote:[...]
Thanks Dave.
I changed the order of appearance as you said and now pound logs only to
/var/log/pound. No more log entries in /var/log/daemon.
Cheers,
Zoong
|
|
|
|