Open-EO / openeo-spring-driver

openEO driver build on spring using WCPS and ODC storage access
Apache License 2.0
0 stars 0 forks source link

Split the log4j logs into separate files #75

Closed clausmichele closed 7 months ago

clausmichele commented 1 year ago

Currently log4j dumps everything into a single file. It would be better to make it write on different files depending on the date.

pierocampa commented 1 year ago

Here's an example of rolling file appender from 8dc3b2e : https://github.com/Open-EO/openeo-spring-driver/blob/darestech/src/main/resources/log4j2.xml#L4-L15

Official Log4J docs

clausmichele commented 7 months ago

This has been implemented some time ago but was not pushed. I added it with this commit: https://github.com/Open-EO/openeo-spring-driver/commit/2fd2c353afe3d4ee03a2a994ed12d5269f09177e

We need to document the env variable OPENEO_LOGS_DIR which is used in it.

pierocampa commented 7 months ago

This has been implemented some time ago but was not pushed. I added it with this commit: 2fd2c35

We need to document the env variable OPENEO_LOGS_DIR which is used in it.

194b83e + ebf44a8