Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable logback logging configuration and support rolling log files #12

Merged
merged 3 commits into from
May 23, 2024

Conversation

sven1103
Copy link
Contributor

@sven1103 sven1103 commented May 23, 2024

Enables a sophisticated logging configuration for console + rolling files. The log path is also configurable via an environmental variable.

@github-actions github-actions bot added the chore label May 23, 2024
Copy link
Contributor

@Steffengreiner Steffengreiner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heya @sven1103! Nicely done, however i'd suggest changing the name of the generated log file


<appender name="RollingFile"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${LOGS}/datamanager-logger.log</file>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the log name here is a copy paste oversight since this is not the datamanager? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well spotted

@sven1103 sven1103 requested a review from Steffengreiner May 23, 2024 09:30
Copy link
Contributor

@Steffengreiner Steffengreiner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well done!

@sven1103 sven1103 merged commit 5253c40 into development May 23, 2024
4 checks passed
@sven1103 sven1103 deleted the chore/logging-configuration branch May 23, 2024 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants