[Bug 347992] Re: Apache CustomLog and TransferLog directives leave blank logfiles
If the CustomLog entry in placed in httpd.conf, rather than, say, 000-default, the configuration will pass /etc/init.d/apache2 configtest, but fail to log, as described above. Is that a bad enough error to warrant re-opening this as a bug, or just a note from the developers that maybe users should RTFM? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/347992 Title: Apache CustomLog and TransferLog directives leave blank logfiles To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/347992/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 347992] Re: Apache CustomLog and TransferLog directives leave blank logfiles
We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again! ** Changed in: apache2 (Ubuntu) Status: Incomplete = Won't Fix -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 347992] Re: Apache CustomLog and TransferLog directives leave blank logfiles
** Changed in: apache2 (Ubuntu) Status: Confirmed = Incomplete -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 347992] Re: Apache CustomLog and TransferLog directives leave blank logfiles
t3rmin4t0r: This works as intended and as documented, see: http://httpd.apache.org/docs/2.2/logs.html#virtualhost dananarama: Can you please post the configuration excerpt where you put the custom logging inside the virtualhost block and it still does not work? -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 347992] Re: Apache CustomLog and TransferLog directives leave blank logfiles
** Changed in: apache2 (Ubuntu) Status: Incomplete = Confirmed -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 347992] Re: Apache CustomLog and TransferLog directives leave blank logfiles
Hello again, Sorry I didn't check back on this. I had moved on to other projects and not failed to follow up. To answer your question, no the custom logging does not work when the directive is placed under the virtual host. Again, the file is created and nothing is inserted into it. ** Changed in: apache2 (Ubuntu) Status: Won't Fix = Incomplete -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 347992] Re: Apache CustomLog and TransferLog directives leave blank logfiles
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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 347992] Re: Apache CustomLog and TransferLog directives leave blank logfiles
Oh, wait ... I almost forgot Package: apache2.2-common Architecture: i386 Source: apache2 Version: 2.2.11-2ubuntu2.3 -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 347992] Re: Apache CustomLog and TransferLog directives leave blank logfiles
Closing bug no response from user. ** Changed in: apache2 (Ubuntu) Status: Incomplete = Won't Fix -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 347992] Re: Apache CustomLog and TransferLog directives leave blank logfiles
Any update on this bug? Regards chuck -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 347992] Re: Apache CustomLog and TransferLog directives leave blank logfiles
** Changed in: apache2 (Ubuntu) Status: New = Incomplete -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs