Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Apache: Log: how to log only certain errors?
- Date: Fri, 21 Jun 2002 13:53:11 +0900
- From: Stoyan Zhekov <sto@example.com>
- Subject: Re: [tlug] Apache: Log: how to log only certain errors?
- References: <F68rBU393IhJrvJ1xKj00000cbe@example.com>
- Organization: ZHware Co.
> I want to have my apache server only log certain errors/condition to file > but I can seem to get conditional logging to work. > > According to books I have and some online tutorials I thought I would be > able to log 404 *and only* 404 errors using something like this: > > LogFormat "%h %l %u %t %404i" > "So, if you're trying to keep a log of all the broken links on your site, you might have the following: LogFormat %404{Referer}i BrokenLinks " The sentence above is from: http://apachetoday.com/news_story.php3?ltsn=2000-09-05-001-01-NW-LF-SW Where to start from: http://www.kplug.org/apache_tutorial/manual/misc/tutorials.html#Logging and speccially see: Apache Guide: Logging Part 1 - Part 2 - Part 3 - Part 4 - Part 5 (ApacheToday) -- ________ Stoyan Zhekov <sto [AT] zhware [DOT] net> ________ OpenPGP: http://www.zhware.net/keys/zhware.asc fpr: 2A61 58D0 A69C FF68 4785 A0A3 89DE AEC0 3CA6 41A8 ____________ Is there life after /sbin/halt -p? _____________Attachment: pgp00011.pgp
Description: PGP signature
- References:
- [tlug] Apache: Log: how to log only certain errors?
- From: Jean-Christian Imbeault
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] preserving permissions settings
- Next by Date: Re: [tlug] Re: Piping stderr?
- Previous by thread: [tlug] Apache: Log: how to log only certain errors?
- Next by thread: Re: [tlug] Apache: Log: how to log only certain errors?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links