Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Re-create error log

General questions about VestaCP
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Fortron
Posts: 10
Joined: Tue Oct 27, 2015 5:10 pm

Re-create error log
  • Quote

Post by Fortron » Thu Nov 12, 2015 11:04 pm

Probally not a VestaCP specific question, but how can I re-create a manually deleted error.log file in my web directory?
Vesta doesn't seem to create a new one by itself?
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Re-create error log
  • Quote

Post by tjebbeke » Fri Nov 13, 2015 7:21 am

touch /var/log/$WEB_SYSTEM/domains/$domain.error.log
ln -f -s /var/log/$WEB_SYSTEM/domains/$domain.*log /home/$user/web/$domain/logs

Change $WEB_SYSTEM, $domain and $user
Top

Vegas10128
Posts: 38
Joined: Tue Aug 16, 2016 4:58 pm

Re: Re-create error log
  • Quote

Post by Vegas10128 » Tue Apr 07, 2020 3:59 am

I assume this is an answer solely for CentOS and never one for Ubuntu?
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password