[Bug 347992] Re: Apache CustomLog and TransferLog directives leave blank logfiles
t3rmin4t0r
gopalv82 at yahoo.com
Mon Aug 24 00:43:33 BST 2009
I can confirm this happening in
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION="Ubuntu 9.04"
$ uname -a
Linux *** 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 i686 GNU/Linux
$ cat /etc/apache2/conf.d/cookies
LogFormat "%h %l %u %t"
TransferLog /var/log/apache2/cookie_log
I started one up with "apache2ctl -k start -X"
$:/proc/5548$ sudo ls -l fd
total 0
lrwx------ 1 root root 64 2009-08-24 05:08 0 -> /dev/pts/2
lrwx------ 1 root root 64 2009-08-24 05:08 1 -> /dev/pts/2
l-wx------ 1 root root 64 2009-08-24 05:08 2 -> /var/log/apache2/error.log
lrwx------ 1 root root 64 2009-08-24 05:08 3 -> socket:[4778462]
lr-x------ 1 root root 64 2009-08-24 05:08 4 -> pipe:[4778472]
l-wx------ 1 root root 64 2009-08-24 05:08 5 -> pipe:[4778472]
l-wx------ 1 root root 64 2009-08-24 05:08 6 -> /var/log/apache2/other_vhosts_access.log
l-wx------ 1 root root 64 2009-08-24 05:08 7 -> /var/log/apache2/cookie_log
l-wx------ 1 root root 64 2009-08-24 05:08 8 -> /var/log/apache2/access.log
lrwx------ 1 root root 64 2009-08-24 05:08 9 -> anon_inode:[eventpoll]
The strace log
$ sudo strace -e write -p 5548
write(8, "xx.xx.xx.xx - - [24/Aug/2009:05:0"..., 167) = 167
clearly showing that this is not writing to an opened log file.
I know that this will probably work if I edit that 000-default vhost
entry and add it there. But I don't like to edit files, jus dumping this
in the conf.d/ should've "Just Worked".
Any more input needed?
--
Apache CustomLog and TransferLog directives leave blank logfiles
https://bugs.launchpad.net/bugs/347992
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list