Skip to content

Commit

Permalink
add docker logger
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Sep 13, 2024
1 parent faba084 commit 2e2f032
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generators/spring-boot/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,8 @@ public void set${javaBeanCase(propertyName)}(${propertyType} ${propertyName}) {
}
},
addSpringBootCompose({ application, source }) {
source.addLogbackMainLog!({ name: 'org.springframework.boot.docker', level: 'INFO' });

const dockerComposeArtifact = { groupId: 'org.springframework.boot', artifactId: 'spring-boot-docker-compose' };
if (application.buildToolGradle) {
source.addGradleDependency!({ ...dockerComposeArtifact, scope: 'developmentOnly' });
Expand Down

0 comments on commit 2e2f032

Please sign in to comment.