Zen Cart Logo
Forums / General Questions / error_log file too big

error_log file too big

Views: 2,177

Results 1 to 7 of 7
31 May 2011, 12:31 AM
#1
ttfan avatar

ttfan

Zen Follower

Join Date:
Jul 2010
Location:
Australia
Posts:
231
Plugin Contributions:
0

error_log file too big

My error_log file in the root directory is very big, and pushing me over the limit of my hosting plan.

Can I delete this file, and a new one will automatically be generated?

Or do I need to re-create another empty one?

Thanks a lot!

31 May 2011, 1:11 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: error_log file too big

Do you mean you hosting account error_log? If so you should be able to delete it and a new one will be automatically created if needed.

However, before you do so, you might want to consider downloading it and going through it to find out why the errors are being generated.

It's there to help identify problems and obstacles to the smooth running of your site.

31 May 2011, 1:18 AM
#3
ttfan avatar

ttfan

Zen Follower

Join Date:
Jul 2010
Location:
Australia
Posts:
231
Plugin Contributions:
0

Re: error_log file too big

No, sorry, it's not the hosting account file, it's the file in the zen-cart main folder.

31 May 2011, 2:21 AM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,606
Plugin Contributions:
0

Re: error_log file too big

You should still download it and find out what is generating the errors and correct them.

31 May 2011, 2:42 AM
#5
ttfan avatar

ttfan

Zen Follower

Join Date:
Jul 2010
Location:
Australia
Posts:
231
Plugin Contributions:
0

Re: error_log file too big

Kim:

You should still download it and find out what is generating the errors and correct them.

Yes I'll definitely do that, but a 1.5Gb file is a little hard to work with, so I need to know (1) if i can delete this file or (2) whether I need to create a new file to replace replace it, and if so what file? Then i can look at the new file to address errors.

Cheers guys!

31 May 2011, 3:57 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: error_log file too big

The file is NOT created by Zen Cart; rather, it's created by the configuration of your server as determined by your hosting company. You should confer with them as to how exactly to go about deleting it.

I suspect you would simply download a copy of the file and then delete it from the server. The server will probably create a new one automatically the next time an error occurs.

But, you should probably be reporting the errors it's logging to your hosting company.

31 May 2011, 4:12 AM
#7
ttfan avatar

ttfan

Zen Follower

Join Date:
Jul 2010
Location:
Australia
Posts:
231
Plugin Contributions:
0

Re: error_log file too big

Thank you kindly!