The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Apache Server how to set password for all access? firefox211 Linux 1 11-13-2008 11:57 AM
Apache restrict access with certificates Esaia UNIX for Advanced & Expert Users 2 12-20-2007 08:30 AM
cannot access files in apache visitorQ UNIX for Dummies Questions & Answers 3 12-17-2007 05:15 AM
Can't access apache pokermagic UNIX for Dummies Questions & Answers 0 07-18-2005 06:32 PM
apache@localhost.localdomain qfwfq Linux 2 03-09-2005 07:47 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-18-2008
sotich82's Avatar
sotich82 sotich82 is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 12
Apache localhost-access.log

The localhost-access.log has a size 3gb. What can apache2 break log on the parts 300mb, or the other issue, make log every week and index it with prifix current date(localhost-access_date.log)?
Please help.

Last edited by sotich82; 12-18-2008 at 12:45 PM..
  #2 (permalink)  
Old 12-18-2008
Ikon's Avatar
Ikon Ikon is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2008
Location: Phoenix, Arizona
Posts: 669
look into logrotate.
Dont know what os you are using but on my CentOS(Redhat) its at /etc/logrotate.conf
  #3 (permalink)  
Old 12-18-2008
sotich82's Avatar
sotich82 sotich82 is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 12
In my case Solaris10.
bash-3.00# find /|grep logrotate.conf
/usr/sfw/lib/webmin/logrotate/config
/usr/sfw/lib/webmin/logrotate/config-*-linux
/usr/sfw/lib/webmin/logrotate/config-freebsd
/usr/sfw/lib/webmin/logrotate/config-open-linux
/usr/sfw/lib/webmin/logrotate/config.info
/usr/sfw/lib/webmin/logrotate/config.info.ca
/usr/sfw/lib/webmin/logrotate/config.info.de

All conf logrotate files, which?

Can list logrotate.conf?

Last edited by sotich82; 12-18-2008 at 12:49 PM..
  #4 (permalink)  
Old 12-19-2008
pupp's Avatar
pupp pupp is offline Forum Staff  
cap_10hdx 1
  
 

Join Date: Feb 2008
Location: Jersey Shore
Posts: 548
take a look through this page
Managing your Linux/Unix log files using logrotate Teklimbu’s Weblog
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:29 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0