![]() |
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Apache config issue | BrewDudeBob | SUN Solaris | 17 | 04-04-2008 08:12 PM |
| Config Files | toddjameslane | HP-UX | 0 | 05-19-2005 10:53 AM |
| Apache Config> One IP, Multiple Servers | l008com | UNIX for Advanced & Expert Users | 7 | 09-15-2003 10:54 AM |
| Apache Config | l008com | UNIX for Dummies Questions & Answers | 2 | 07-23-2002 06:54 PM |
| new LAN, where are the config files? | softarch | UNIX for Dummies Questions & Answers | 3 | 03-27-2001 03:36 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Currently our Apache log files are huge, I want to put say a month's time limit on this, then when it hits the end of the month I would like it to start over writing.
Does anyone know where the config file is for this and what its called? I also want to do exactly the same on wtmp config (who command) file (but again no clue of how or where to find it). Many Thanks! |
|
||||
|
Apache Log Size
Hello,
Try using the rotatelogs command which might look like the following: access_log "| rotatelogs /path/to/logs/access_log 2592000" It should be located in your ../apache/bin folder. The man page for complete details is at: http://www.apache.org/docs-2.0/programs/rotatelogs.html Enjoy! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|