Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    May 2012
    Posts
    4
    Thanks
    3
    Thanked 0 Times in 0 Posts

    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

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    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.

  • Users who have thanked Fou-Lu for this post:

    songket (05-15-2012)

  • #3
    New to the CF scene
    Join Date
    May 2012
    Posts
    4
    Thanks
    3
    Thanked 0 Times in 0 Posts
    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


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •