Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- blocks
-
FINERACT-978 java.lang.reflect.InvocationTargetException at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) Caused by: java.lang.IllegalStateException: Logback configuration error detected:
- Resolved
-
FINERACT-786 Fineract on Google Cloud ("managed", with Cloud SQL)
- Open
-
FINERACT-892 Include Logback Appender for Google Cloud Logging in Fineract container
- In Progress
- is blocked by
-
FINERACT-783 Fineract on Kubernetes
- Resolved
- is related to
-
FINERACT-999 Include git revision in (each) log statement
- Open
- is required by
-
FINERACT-1078 Make spring logs colorful
- Resolved
- links to