Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a small site running in lampp, and the log directory is over 200MB. I'm assuming its ok to delete the log files from that folder once lampp has been stopped as they will be recreated when lampp restarts?
I can always just move them out of that folder and try it, but figured i'd ask in case anyone had any ideas.
There seems to be access_log's, apachestart.log, error_log, httpd.pid, ssl_request_log, ssl_scache.dir and ssl_scache.pag. there is also a cgisock in there, and that's the only one that shows as pink in my putty, whatever that means.
I would stop the lampp stack, gzip the log files, then restart lampp. It will create new, empty log files.
When I self-hosted my website, I had a script that did this for me every morning at four a. m. local time. It put the gzipped logfiles over on the second hard drive, where I would keep them until I was sure I didn't need them. I would delete them manually every three months or so.
Last edited by frankbell; 04-26-2011 at 10:32 PM.
Reason: missplet wrods
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.