How to truncate the ssh session logs recorded?

Log Rotation

In order to prevent a full disk, it's possible to auto-delete logs when the log size exceeds a limit.

Navigate to Settings->Security->Miscellaneous->Log space threshold 

https://www.ezeelogin.com/user_manual/Miscellaneous.html

 

You can also set the period for which the ssh user  log and the rdp user  logs has to be retained in the  system after which it would be truncated by daily cronjobs. A value 0 means the logs would be retained for ever.

Navigate to Settings->Security->Miscellaneous->Log Retain Duration


Do set a cronjob, to run daily or once a week so that log file are truncated when it exceeds a particular size.
The path to the command that needs to set in cron is

0 6 * * * php /usr/local/ezlogin/house_keeping.php 

0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    How do i uninstall ezeelogin?
    Viewed 1848 times since Wed, Jun 14, 2017
    how to create a complete backup of ezeelogin installation?
    Viewed 1712 times since Thu, Jun 15, 2017
    Migrate jump server installation from one server to another
    Viewed 1931 times since Wed, Jun 14, 2017
    How to import servers from a file into Ezeelogin ssh gateway?
    Viewed 2415 times since Fri, Sep 1, 2017
    How do i export all server password into an excel file?
    Viewed 1536 times since Thu, Jun 15, 2017
    Database connectivity credentials and configuration file
    Viewed 1375 times since Thu, Nov 23, 2017
    How can we upgrade php in an ezeelogin installed server ?
    Viewed 556 times since Fri, Jan 25, 2019
    How to move servers/migrate servers from one Ezeelogin installation to another?
    Viewed 1412 times since Thu, Jun 15, 2017
    How to export servers ?
    Viewed 2880 times since Sat, Sep 2, 2017
    Configuration and error log files to check for troubleshooting
    Viewed 3971 times since Thu, Jun 15, 2017