Re: Using webcat to roll apache logs

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 40649
interpreted = N
texte = drt - lists wrote: > Has anyone used webcat to roll your apache log files? The standard rotatelog > scripts suppiled with linux require that apache be restarted to roll the > logs. I wonder if there is a way to accomplish this using webcat.The reason you need to restart Apache is the log file is always open, hence it cannot be rolled until after it is closed (actually you can rename the log file while it is open, but Apache won't notice and continue to write to the old file). Of course, you can use a logging program that rolls automatically, like multilog, and write to a pipe from Apache instead of directly to a file. http://cr.yp.to/daemontools/multilog.htmlI can probably dig up instructions for what to tell Apache on the log line so that it uses an external utility.HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Using webcat to roll apache logs (John Peacock 2002)
  2. Re: Using webcat to roll apache logs (Steve Craig 2002)
  3. Re: Using webcat to roll apache logs (Bob Minor 2002)
  4. Re: Using webcat to roll apache logs (John Peacock 2002)
  5. Using webcat to roll apache logs (drt - lists 2002)
drt - lists wrote: > Has anyone used webcat to roll your apache log files? The standard rotatelog > scripts suppiled with linux require that apache be restarted to roll the > logs. I wonder if there is a way to accomplish this using webcat.The reason you need to restart Apache is the log file is always open, hence it cannot be rolled until after it is closed (actually you can rename the log file while it is open, but Apache won't notice and continue to write to the old file). Of course, you can use a logging program that rolls automatically, like multilog, and write to a pipe from Apache instead of directly to a file. http://cr.yp.to/daemontools/multilog.htmlI can probably dig up instructions for what to tell Apache on the log line so that it uses an external utility.HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ John Peacock

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

range searching (1998) SiteGaurd file Cache vs webcatalog cache (1997) [addlineitems] (1997) WebDNA 4.5 not starting on boot? (2002) Preloading code? (2002) WebCatalog Mac and cgi-bin (WebSTAR 2.0) (1997) RE: too many nested [xxx] (1997) Message Board (1998) Navigator 4.01 (1997) 2nd WebCatalog2 Feature Request (1996) Waiting Orders (2002) Date Formats (1997) Emailer setup (1997) Roundup function? (1997) formulas.db ?? (1998) Sku numbers (1997) Revisit: speed test (2002) Date Question (2002) multi-paragraph fields (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)