Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Limiting Size of Access Log

Status
Not open for further replies.

KevinAr18

Programmer
Apr 25, 2002
309
US
How can I limit the size of the access and error log?

Also, will it remove old access data in order to add new stuff when the log reaches the limit?
 
Hi mate,

I don't think that is possible.. It may be but I have never came across a way to do it..

Why not just alter the LogLevel directive?

# LogLevel: Control the number of messages logged to the error.log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel crit

The higher you go in the list then the less errors you will have..

Hope this helps Wullie

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top