John Davidson

php - VTigerCRM 7.3 (opensource) Clear the user access log

0 comments
Message:


My user access log (/logs/access_ssl_log.processed) is 1.5GB and I would like to clear it down to start a fresh to reduce the size.


Can anyone advise how I clear the content within, I don't seem to be able to find any settings for this?



My Answer:
To clear the user access log in VTigerCRM 7.3, you can follow these steps:

1. Connect to your server where VTigerCRM is installed using SSH or any other method to access the file system.

2. Navigate to the directory where the user access log file is located. In this case, it is /logs/access_ssl_log.processed.

3. Once you are in the directory, you can clear the content of the log file by running the following command:


echo "" > access_ssl_log.processed


This command will clear the content of the log file without deleting the file itself.

4. You can also use the following command to truncate the log file, which will remove all the content but keep the file size intact:


truncate -s 0 access_ssl_log.processed


After running one of these commands, the user access log file will be cleared, and you can start fresh with a reduced size.

Rate this post

3 of 5 based on 5849 votes

Comments




© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us