Jump to content

Brijraj logs cleaning for space: Difference between revisions

From TetraWiki
Pradeep (talk | contribs)
No edit summary
Pradeep (talk | contribs)
No edit summary
Line 2: Line 2:


Go to below location:
Go to below location:
'''cd /var/www/html/brijraj/var/log/'''
'''cd /var/www/html/brijraj/var/log/'''


Check the space consumed by logs file:
Check the space consumed by logs file:
'''du -sh *'''
'''du -sh *'''



Revision as of 05:42, 14 December 2015

Below are the steps for cleaning logs in Brijraj-CMS

Go to below location:

cd /var/www/html/brijraj/var/log/

Check the space consumed by logs file:

du -sh *


Truncate the logs by below command:

> exception.log

> system.log