You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Michael Vorburger (Jira)" <ji...@apache.org> on 2020/05/21 15:35:00 UTC

[jira] [Comment Edited] (FINERACT-888) Fineract Docker Container should only log to STDOUT, not fineract-platform.log

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

Michael Vorburger edited comment on FINERACT-888 at 5/21/20, 3:34 PM:
----------------------------------------------------------------------

https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-features.html#boot-features-logging

https://github.com/apache/fineract/pull/917


was (Author: vorburger):
https://github.com/apache/fineract/pull/917

> Fineract Docker Container should only log to STDOUT, not fineract-platform.log
> ------------------------------------------------------------------------------
>
>                 Key: FINERACT-888
>                 URL: https://issues.apache.org/jira/browse/FINERACT-888
>             Project: Apache Fineract
>          Issue Type: Improvement
>            Reporter: Michael Vorburger
>            Assignee: Michael Vorburger
>            Priority: Major
>              Labels: kubernetes
>             Fix For: 1.4.0
>
>
> Fineract's default logging configuration, in https://github.com/apache/fineract/blob/develop/fineract-provider/src/main/resources/logback.xml, logs both to STDOUT (ConsoleAppender) as well as to ${catalina.base}/logs/fineract-platform.log with FileAppender.
> This makes sense for a standalone ZIP distribution (e.g. for http://fineract.apache.org), but for the ("Docker") Container image, we should only to STDOUT instead of filling up a file inside the container.
> Add another logback.xml and COPY that over the default one in the Dockerfile.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)