RE: [us...@httpd] Rotating logs

2010-11-12 Thread Patrick McCambridge
Hi Tony, finally had a chance to test this. All I did was change the directory to reflect my actual directory, and I am getting this message (did some tweaking but can't get around this): piped log program ' /Apache22/bin/rotatelogs -l -f /Apache22/logs/apache_access_log.%m-%d-%y-%I:%M:%S

RE: [us...@httpd] Rotating logs

2010-11-12 Thread Bennett, Tony
: Patrick McCambridge [mailto:mcca...@fdny.nyc.gov] Sent: Friday, November 12, 2010 7:05 AM To: users@httpd.apache.org Subject: RE: [us...@httpd] Rotating logs Hi Tony, finally had a chance to test this.  All I did was change the directory to reflect my actual directory, and I am getting

RE: [us...@httpd] Rotating logs

2010-11-12 Thread Patrick McCambridge
AM To: users@httpd.apache.org Subject: RE: [us...@httpd] Rotating logs Hi Tony, finally had a chance to test this. All I did was change the directory to reflect my actual directory, and I am getting this message (did some tweaking but can't get around this): piped log program ' /Apache22/bin

Re: [us...@httpd] Rotating logs

2010-11-12 Thread Joost de Heer
On 11/12/2010 08:11 PM, Patrick McCambridge wrote: Hi Tony, the answers to your first questions are yes and yes. I am running Apache 2.2.16 Here is my full path to rotatelogs: V:\Apache22\bin Here is my full path to logs folder: V:\Apache22\logs TransferLog | /Apache22/bin/rotatelogs -l -f

RE: [us...@httpd] Rotating logs

2010-11-12 Thread Bennett, Tony
12, 2010 11:11 AM To: users@httpd.apache.org Subject: RE: [us...@httpd] Rotating logs Hi Tony, the answers to your first questions are yes and yes.  I am running Apache 2.2.16   Here is my full path to rotatelogs: V:\Apache22\bin   Here is my full path to logs folder: V:\Apache22\logs   Here are my

RE: [us...@httpd] Rotating logs

2010-11-05 Thread Bennett, Tony
Patrick, For me, examples always help the most. Here's what we do... TransferLog | /usr/local/apache/bin/rotatelogs -l -f /var/adm/syslog/apache_access_log.%m-%d-%y-%I:%M:%S 86400 This way, our apache_access_log filename is appended with the month-day-year-hour-minute-second... ...and

Re: [us...@httpd] Rotating logs

2010-11-05 Thread Nerius Landys
There are other ways to rotate Apache logs, too. For example, on my FreeBSD systems, there is something called newsyslog present at the operating system level. There is a file named /etc/newsyslog.conf that has the following lines on my system (I edited the file and added these lines): #