Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-15-2012, 04:34 AM   PM User | #1
songket
New to the CF scene

 
Join Date: May 2012
Posts: 4
Thanks: 3
Thanked 0 Times in 0 Posts
songket is an unknown quantity at this point
Accidentally deleted access.log file

Hi,

I'm newbie to website administration. The previous developer just asked me to clear the content in the access.log, error.log and PHP_error.log once a month so that the file doesn't get bigger and bigger. But just now I accidentally deleted the access.log file
Could someone help me on how to restore it or maybe can I just create a new access.log file? Does the access data will be logged in that new file as usual? And what is the effect on my website?

Please help me. Thank you
songket is offline   Reply With Quote
Old 05-15-2012, 05:19 AM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,662
Thanks: 4
Thanked 2,452 Times in 2,421 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
Just restart apache. The access.log should appear again.
Only thing you've done is lost records of access. You can check recycling of course to see if its there, but if its deleted you'll need a restore from backup media.
Fou-Lu is offline   Reply With Quote
Users who have thanked Fou-Lu for this post:
songket (05-15-2012)
Old 05-15-2012, 06:08 AM   PM User | #3
songket
New to the CF scene

 
Join Date: May 2012
Posts: 4
Thanks: 3
Thanked 0 Times in 0 Posts
songket is an unknown quantity at this point
Hi Fou-Lu,

I restart the apache and there...My access.log file smile at me again. Thank you VERY much.

CodingForums.com really give me the quick response and full of nice people to help me
Thank you
songket is offline   Reply With Quote
Reply

Bookmarks

Tags
apache

Jump To Top of Thread


Thread Tools
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

Forum Jump


All times are GMT +1. The time now is 10:42 AM.


Advertisement
Log in to turn off these ads.