|
Search tenon.com
Thanks to:
|
|
WebTen
newbie log rolling question...
I'm running a WebTen 2.1.10 server with several virtual hosts. I
have each server configured to create a separate log file for each
vHost. I'm confused about the best way to rotate log files.
One of my vHosts is getting a lot of traffic, and it's time to roll
the log files. I decided to try this shell script, included in the
WebTen examples folder:
BASEDIR="/usr/local/apache"
LOG="$BASEDIR/logs/WebTen.log"
LOGRESOLVE="$BASEDIR/support/logresolve"
/bin/mv $LOG $LOG.$$
kill -HUP `/bin/cat /etc/httpd/logs/httpd.pid`
---
It renamed the WebTen.log file, and created a new one appended with
the date. However, WebTen is not showing any activity in its log
window now. Each of the individual vHost log files seem to be working
as before. I'm a newbie to shell scripts and Apache in general, so
please go easy on me. ;-)
So, I have two questions:
1) How do I get the log window to work again?
2) How can I use a script like this to roll the logs for the other
virtual hosts? Say, assuming that one of the sites is called
something like www.mysite.com... I'd like to automatically roll logs
for all virtual hosts once a week.
Best regards,
Gawain Reifsnyder
Guitar.net, Inc.
http://guitar.net
----
Tenon Intersystems' WebTen Mailing List
To unsubscribe: send mail to webten-request@xxxxxxxxx with the
subject: unsubscribe
Find searchable Mailing List archives at
http://listsearch.blueworld.com/webtensearch.lasso
|
| <Prev in Thread] |
Current Thread |
[Next in Thread>
|
- newbie log rolling question...,
Gawain Reifsnyder <=
|
| Tenon Home |
Products |
Order |
Contact Us |
About Tenon |
Register |
Tech Support |
Resources |
Press Room |
Mailing Lists |
|
Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara,
CA 93101. All rights reserved.
Questions about our website - Contact:
webmaster@tenon.com.
|
|