magento - System.log and Exception.log size and maintenance? -


our developer left few weeks ago, have been attempting myself little more acquainted systems , troubleshoot few issues around site.

i attempted @ our log files in var/log/ before realizing are, erm, several gb each. despite knowing nothing how big ideal log file should be, fact file handily crashed computer seems maybe it's big. before computer crashed, see there records in file on 5 months old.

is safe delete system.log , exception.log?

when search this, lot of results related log cleaning...

in magento there settings under system turn on 'log cleaning', suspect has nothing these 2 log files because a) looks set clear daily , b) cron set up. if incorrect that, please let me know can why not working correctly.

you guessed correctly. log cleaning settings refer tables of logs in database. files in var/log/ safe delete, files in var/. if not need these files simplest turn them off system > configuration > developer > log settings.

however, if think want logs in case learn how use logrotate on server, can compress files , delete oldest you.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -