Commit 1428ad39 authored by Noel Alonso's avatar Noel Alonso
Browse files

Modifica componentes de log según entorno

parent c2b8a45f
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -2,8 +2,10 @@ server.port=port
server.context-path=/api
server.servlet-path=/path

logging.level.root=error
logging.level.org.springframework=error
spring.profiles.active=@spring.profiles.active@

logging.level.root=info
logging.level.org.springframework=info
logging.level.es.redmic=info

#Exclude from autoconfigure
+1 −1
Original line number Diff line number Diff line
@@ -7,6 +7,6 @@ appender.console.name = STDOUT
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = [%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %c{1} - %msg%n

rootLogger.level = debug
rootLogger.level = error
rootLogger.appenderRefs = stdout
rootLogger.appenderRef.stdout.ref = STDOUT
+6 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <include resource="org/springframework/boot/logging/logback/base.xml" />
	<root level="ERROR">
	</root>
</configuration>
 No newline at end of file