You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (JIRA)" <ji...@apache.org> on 2018/01/10 18:56:00 UTC

[jira] [Resolved] (AIRAVATA-2608) Limit the size of airavata log fails

     [ https://issues.apache.org/jira/browse/AIRAVATA-2608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcus Christie resolved AIRAVATA-2608.
---------------------------------------
    Resolution: Fixed

> Limit the size of airavata log fails
> ------------------------------------
>
>                 Key: AIRAVATA-2608
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2608
>             Project: Airavata
>          Issue Type: Bug
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>
> gfacdev.scigap.org log files filled up available disk space.  Currently log files are rotated but there is no automatic mechanism to delete older log files.
> [totalSizeCap|https://logback.qos.ch/manual/appenders.html#tbrpTotalSizeCap] looks like a good logback option to automatically delete older log files once a certain total filesize threshold is met by the log files.
> Also, I think it makes sense to turn off the CONSOLE logger. Not much sense to log to both the CONSOLE and the LOGFILE.  Also, there is no way to configure log rotation in logback for what is written to CONSOLE. Rotating the stdout log file (output.log) requires some external tool.
> To rotate output.log we could use [logrotate|https://linux.die.net/man/8/logrotate] which is already available on centos.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)