Date: Tue, 16 Mar 1999 00:39:39 -0600 From: Jon Hamilton <hamilton@pobox.com> To: George Vagner <kf7nn1@cybertrails.com> Cc: questions@FreeBSD.ORG Subject: Re: apache Message-ID: <19990316063939.CD9A461@woodstock.monkey.net> In-Reply-To: Your message of "Mon, 15 Mar 1999 21:52:50 GMT." <36ED8132.505A53AF@cybertrails.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <36ED8132.505A53AF@cybertrails.com>, George Vagner wrote: } in my newsyslog i turn over the "access.log" file } for apache but it doesnt continue to write to it unless } i reboot the system. Please see http://www.apache.org/docs/misc/howto.html#logreset for a brief description of how to rotate Apache's log files. The original file will keep getting written to if you don't send Apache a signal to tell it to re-open the logfile(s) - that is, the one you rotated out of the way is still being written to. You can have newsyslog do this for you by using path_to_pid_file This optional field specifies the file name to read to find the daemon process id. If this field is present, a signal_number is sent the process id contained in this file. This field must start with "/" in order to be recognized properly. In your case, you'd use the path to Apache's pid file. See the newsyslog(8) man page for further details. -- Jon Hamilton hamilton@pobox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990316063939.CD9A461>