[ 
https://issues.apache.org/jira/browse/AIRAVATA-2608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16284275#comment-16284275
 ] 

Marcus Christie commented on AIRAVATA-2608:
-------------------------------------------

I'm seeing this error in the log file
{noformat}
21:42:07,876 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@42:27 - no 
applicable action for [totalSizeCap], current ElementPath  is 
[[configuration][appender][rollingPolicy][totalSizeCap]]
{noformat}


> 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)

Reply via email to