Article View: best.general
Article #327Re: www log files
From: dpk
Date: Sat, 06 Oct 2001 19:56
Date: Sat, 06 Oct 2001 19:56
24 lines
2051 bytes
2051 bytes
In article <slrn9run0o.qhl.mikehan+&$#^@shell7.ba.best.com>, Michael Han <mikehan+&$#^@best.com> wrote: >On Fri, 5 Oct 2001 04:28:26 +0000 (UTC), Drew Lawson <drew@furrfu.com> wrote: >> >>I looked for an example of that, but didn't find it. >>I have the LogFormat/TransferLog directives because I use cronolog >>for my logs. Something in the cronolog docs (which may be incorrect) >>suggested that you couldn't use a pipe in CustomLog. > >Hmm, current apache docs indicate that piping from a CustomLog >statement is okay. > >http://httpd.apache.org/docs/mod/mod_log_config.html#customlog It is - however, you need to be *very* careful not to remove or otherwise break the script you pipe to. In VPS's case the worst you can do is take down all of your own sites, but on servers where one Apache runs the entire box, if you remove that script and the server is restarted, the server will serve no traffic. The same goes for specifying that logs be written to directories that do not exist. - dpk
Technical Details
Message-ID:
<9pnnln$2qpk$1@nntp1.ba.best.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!enews.sgi.com!news1.best.com!nntp1.ba.best.com!dpkReferences:
<9pflop$1gh1$1@nntp1.ba.best.com> <slrn9rptci.a79.mikehan+&$#^@shell7.ba.best.com> <9pjcta$1qqs$1@nntp1.ba.best.com> <slrn9run0o.qhl.mikehan+&$#^@shell7.ba.best.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9f6d,3d4e4c49837435ca X-Google-Attributes: gidf9f6d,public X-Google-ArrivalTime: 2001-10-06 12:56:45 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!enews.sgi.com!news1.best.com!nntp1.ba.best.com!dpk From: dpk@best.com (dpk) Newsgroups: best.general Subject: Re: www log files Date: Sat, 6 Oct 2001 19:56:39 +0000 (UTC) Organization: a user of Best Internet Communications, Inc. www.best.com Lines: 24 Distribution: best Message-ID: <9pnnln$2qpk$1@nntp1.ba.best.com> References: <9pflop$1gh1$1@nntp1.ba.best.com> <slrn9rptci.a79.mikehan+&$#^@shell7.ba.best.com> <9pjcta$1qqs$1@nntp1.ba.best.com> <slrn9run0o.qhl.mikehan+&$#^@shell7.ba.best.com> NNTP-Posting-Host: shell3.ba.best.com X-Trace: nntp1.ba.best.com 1002398199 92980 206.184.139.134 (6 Oct 2001 19:56:39 GMT) X-Complaints-To: abuse@best.com NNTP-Posting-Date: Sat, 6 Oct 2001 19:56:39 +0000 (UTC)