error_log file remove??

Problems with the Linux version of XAMPP, questions, comments, and anything related.

error_log file remove??

Postby meysam81 » 17. November 2013 08:43

Hi

I have installed xampp 1.8 for centos 6.But the problem is that ,the size of error_ log file in folder /opt/lampp/logs is larg (GB) and it takes my hosting space.
Can i delete that error_log file or clear its data and if yes how?

thanks
meysam81
 
Posts: 6
Joined: 20. January 2013 17:49
XAMPP Version: 1.8.2-4
Operating System: centos

Re: error_log file remove??

Postby Nobbie » 17. November 2013 16:04

meysam81 wrote:Can i delete that error_log file or clear its data and if yes how?


Yes, you may simply remove it. A new one will be created automatically by the next error message, if you dont switch off error logging.

"How"? Simply "rm error_log" in a shell in the appropriate folder.
Nobbie
 
Posts: 6573
Joined: 09. March 2008 13:04

Re: error_log file remove??

Postby meysam81 » 17. November 2013 18:12

Thank you..
meysam81
 
Posts: 6
Joined: 20. January 2013 17:49
XAMPP Version: 1.8.2-4
Operating System: centos


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests