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:

SMSI: WebDNA Versions? (2002) [WebDNA] An issue with Ajax or maybe my WebDNA code... voting system, sample (2018) Just made store and move file from webcatalog......... (2000) Many $WebCat.exe processes (1998) Still trying to email... (1998) OT: MacAuthorize (2001) Simple form with picture upload (2005) Mozilla/4. and Browser Info.txt (1997) WebCatalog Hosting (1996) Location of Browser Info.txt file (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Sort Order on a page search (1997) docs for WebCatalog2 (1997) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Bug? (1997) WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997) WebCatalog 4.0.2b5 available (2000) HELP WITH DATES (1997) WebDNA iTools patch (2006) mail test (1997)