?
avatar sam-suresh
sam-suresh
27 Mar 2016

Steps to reproduce the issue

Currently error logs keep on expanding depending on the extensions used. Mostly PHP warnings/notices or 404s.
Over the time, error logs used up the storage allocation.

Expected result

New setting in Global Configuration to auto purge the error logs with a preset interval like every 30 days.

Actual result

System information (as much as possible)

Additional comments

avatar sam-suresh sam-suresh - open - 27 Mar 2016
avatar brianteeman
brianteeman - comment - 27 Mar 2016

If you are getting so many php notices and warnings you really need to get better extensions

avatar brianteeman
brianteeman - comment - 27 Mar 2016

404 should not be logged in any joomla logs anyway - only in server logs which joomla should not touch

avatar sam-suresh
sam-suresh - comment - 27 Mar 2016

I manage a hosting and most of the clients error logs will go up to 10GB over months. Having such options will be helpful in this situation if it is possible.

avatar brianteeman
brianteeman - comment - 27 Mar 2016

Are you talking about apache error logs?
If so then you really should be using logrotate

On 27 March 2016 at 13:38, Sam Suresh notifications@github.com wrote:

I manage a hosting and most of the clients error logs will go up to 10GB
over months. Having such options will be helpful in this situation if it is
possible.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#9620 (comment)

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar sam-suresh
sam-suresh - comment - 27 Mar 2016

I'm referring to the error_log in Joomla folder.
Mostly PHP notices for extensions.
Or possible to add a override option in Global Config without changing in PHP.INI something like Error reporting option in global configuration.
A beginner Joomla users without php.ini access (or local php.ini disabled server) will end up large error logs over the time.

avatar brianteeman
brianteeman - comment - 27 Mar 2016

Seriously 10gb of php error logs is due to absolutely terrible extensions

You can of course turn off the logging of notices but s a web host you know
that

On 27 March 2016 at 13:50, Sam Suresh notifications@github.com wrote:

I'm referring to the error_log in Joomla folder.
Mostly PHP notices for extensions.
Or possible to add a override option in Global Config without changing in
PHP.INI something like Error reporting option in global configuration.
A beginner Joomla users without php.ini access (or local php.ini disabled
server) will end up large error logs over the time.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#9620 (comment)

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar wilsonge wilsonge - change - 6 Apr 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-04-06 10:53:45
Closed_By wilsonge
avatar wilsonge wilsonge - close - 6 Apr 2016
avatar wilsonge wilsonge - close - 6 Apr 2016
avatar wilsonge
wilsonge - comment - 6 Apr 2016

This is down to server setup. It should not be Joomla's job to handle the logs on the server

Add a Comment

Login with GitHub to post a comment