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
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Brijraj]]
'''Below are the steps for cleaning logs in Brijraj-CMS'''
'''Below are the steps for cleaning logs in Brijraj-CMS'''


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 *'''




'''Truncate the logs by below command:'''
Truncate the logs by below command:
> exception.log
 
'''> exception.log'''


> system.log
'''> system.log'''

Latest revision as of 11:52, 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