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

feat: configuration of the default logger with rolling policy to trac… #7

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@ bin/
.vscode/

### Mac OS ###
.DS_Store
.DS_Store

*.log
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

Add the changes here.

### Added

- Configuration of the default logger with rolling policy to trace server logs in a file

## [1.1.0] - 2024-06-07

### Added
Expand Down
8 changes: 8 additions & 0 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@ spring:
compose:
enabled: false
file: docker-compose.yaml
logging:
file:
name: another-kaomoji.log
logback:
rollingpolicy:
file-name-pattern: another-kaomoji-%d{yyyy-MM-dd}.%i.log
max-file-size: 100KB
max-history: 5
Loading