hello
I have a big issue with error_log file
root@*****:~# du -sh /var/www/vhosts/*****.com/logs
1,2T /var/www/vhosts/*****.com/logs
wahou ! OMG ! my server is almost full...
________
So, my question are ...
how can I safely delete this file ?
can I remove it directly ? should i stop apache first ?
can I delete it by plesk administration ? I see it in log files of my domain but i can't check the checkbox to delete it.
what is the safe way ?
and second quesiton...
i've mad a tail on this file and i have a billion of
Undefined variable: _SESSION in /var/www/vhosts/****.com/httpdocs/****.php on line 47
and other for each not declared var in my php code...
so
how can I configure apache to not log this notices ? I want the real errors loged but not all this notices.
thanks a lot for your help
I have a big issue with error_log file
root@*****:~# du -sh /var/www/vhosts/*****.com/logs
1,2T /var/www/vhosts/*****.com/logs
wahou ! OMG ! my server is almost full...
________
So, my question are ...
how can I safely delete this file ?
can I remove it directly ? should i stop apache first ?
can I delete it by plesk administration ? I see it in log files of my domain but i can't check the checkbox to delete it.
what is the safe way ?
and second quesiton...
i've mad a tail on this file and i have a billion of
Undefined variable: _SESSION in /var/www/vhosts/****.com/httpdocs/****.php on line 47
and other for each not declared var in my php code...
so
how can I configure apache to not log this notices ? I want the real errors loged but not all this notices.
thanks a lot for your help