DeveloperSide.NET Forums
December 15, 2019, 12:57:55 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Log files  (Read 5805 times)
0 Members and 1 Guest are viewing this topic.
riley
Member
*
Posts: 11


View Profile
« on: January 29, 2008, 07:55:08 PM »

Hi,

Things are going well for us. We have had things up for about a couple of weeks with no problems thanks. Do have a question. What is the best way to deal with the log files? The access and error logs. It looks like it can be problematic on WAMP. Doing it manually is not so much a problem if I can limit it to once a month. I don't think the files will be getting too big right away.

Thanks,
Riley
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #1 on: January 29, 2008, 09:37:59 PM »

Rotating the logs?

You can do this...
http://httpd.apache.org/docs/2.2/programs/rotatelogs.html

I'd suggest rotating by size, and not by time.

If you do use time, note that while you can format the log file name with time/date variables, this will not work with formating the dir structure of the log file path... You can't have \www\Apache22\logs\2008\01\29\access.log, but you can have \www\Apache22\logs\access.2008-01-29.log

The config file you would edit is...
C:\www\Apache22\conf\extra\suite-deflate_logio.conf
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!