We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Re-create error log
Re-create error log
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?
Vesta doesn't seem to create a new one by itself?
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Re-create error log
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
ln -f -s /var/log/$WEB_SYSTEM/domains/$domain.*log /home/$user/web/$domain/logs
Change $WEB_SYSTEM, $domain and $user
-
- Posts: 38
- Joined: Tue Aug 16, 2016 4:58 pm
Re: Re-create error log
I assume this is an answer solely for CentOS and never one for Ubuntu?