1

Merge pull request #11 from ChUrl/LOG

docker profile logging
This commit is contained in:
Christoph
2020-04-14 17:40:14 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Component;
@Log4j2
@Profile({"dev", "docker"})
@Profile("dev")
@Aspect
@Component
public class LogAspect {

View File

@ -2,7 +2,7 @@
logging.application.name = gruppen2
logging.pattern.console = [${logging.application.name}], %magenta(%-5level), %d{dd-MM-yyyy HH:mm:ss.SSS},\t%blue(%msg)\t%thread,%logger.%M%n
spring.output.ansi.enabled = always
logging.level.mops.gruppen2 = trace
logging.level.mops.gruppen2 = info
logging.level.org.springframework.jdbc.core = info
# Database