Skip to content
Snippets Groups Projects
Commit bc5e86bd authored by Riabokon Stanislav(EPAM)[GCP]'s avatar Riabokon Stanislav(EPAM)[GCP]
Browse files

Fix logs for GCP (GONRG-2272)

parent 75772256
No related branches found
No related tags found
1 merge request!109Fix logs for GCP (GONRG-2272)
LOG_PREFIX=legal LOG_PREFIX=legal
server.servlet.contextPath=/api/legal/v1/ server.servlet.contextPath=/api/legal/v1/
logging.level.org.springframework.web=DEBUG logging.level.org.springframework.web=${LOG_LEVEL:DEBUG}
server.port=8080 server.port=8080
#spring.cloud.gcp.project-id=opendes #spring.cloud.gcp.project-id=opendes
#spring.security.user.roles=service.legal.admin #spring.security.user.roles=service.legal.admin
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<configuration> <configuration>
<include resource="org/springframework/boot/logging/logback/defaults.xml"/> <include resource="org/springframework/boot/logging/logback/defaults.xml"/>
<property resource="application.properties" />
<logger name="org.opengroup.osdu" level="${LOG_LEVEL}"/>
<springProfile name="local"> <springProfile name="local">
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder> <encoder>
...@@ -8,7 +10,7 @@ ...@@ -8,7 +10,7 @@
<charset>utf8</charset> <charset>utf8</charset>
</encoder> </encoder>
</appender> </appender>
<root level="DEBUG"> <root level="info">
<appender-ref ref="CONSOLE"/> <appender-ref ref="CONSOLE"/>
</root> </root>
</springProfile> </springProfile>
...@@ -28,9 +30,9 @@ ...@@ -28,9 +30,9 @@
</encoder> </encoder>
</appender> </appender>
<root level="debug"> <root level="info">
<appender-ref ref="stdout"/> <appender-ref ref="stdout"/>
</root> </root>
</springProfile> </springProfile>
</configuration> </configuration>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment