Strange symbols in log-output
up vote
1
down vote
favorite
I started to see strange output in my log files:
2018-11-14 14:04:21,180 [main] [34mINFO[0;39m com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated...
2018-11-14 14:04:21,186 [main] [34mINFO[0;39m com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed.`
I don't know what does [34m
or [0;39m
mean and why it is here.
My logback.xml configuration:
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>server.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>server.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy
class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>50MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>30</maxHistory>
</rollingPolicy>
<encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
<charset>UTF-8</charset>
<layout class="ch.qos.logback.classic.PatternLayout">
<pattern>%d [%thread] (%level) %logger{50} - %msg%n</pattern>
</layout>
</encoder>
</appender>
<root level="info">
<appender-ref ref="FILE" />
</root>
java logging logback
add a comment |
up vote
1
down vote
favorite
I started to see strange output in my log files:
2018-11-14 14:04:21,180 [main] [34mINFO[0;39m com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated...
2018-11-14 14:04:21,186 [main] [34mINFO[0;39m com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed.`
I don't know what does [34m
or [0;39m
mean and why it is here.
My logback.xml configuration:
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>server.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>server.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy
class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>50MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>30</maxHistory>
</rollingPolicy>
<encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
<charset>UTF-8</charset>
<layout class="ch.qos.logback.classic.PatternLayout">
<pattern>%d [%thread] (%level) %logger{50} - %msg%n</pattern>
</layout>
</encoder>
</appender>
<root level="info">
<appender-ref ref="FILE" />
</root>
java logging logback
maven.40175.n5.nabble.com/…
– fantaghirocco
Nov 14 at 11:29
If I undestand correctly it should be some infos related to synthax colouring
– fantaghirocco
Nov 14 at 11:34
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I started to see strange output in my log files:
2018-11-14 14:04:21,180 [main] [34mINFO[0;39m com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated...
2018-11-14 14:04:21,186 [main] [34mINFO[0;39m com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed.`
I don't know what does [34m
or [0;39m
mean and why it is here.
My logback.xml configuration:
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>server.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>server.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy
class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>50MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>30</maxHistory>
</rollingPolicy>
<encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
<charset>UTF-8</charset>
<layout class="ch.qos.logback.classic.PatternLayout">
<pattern>%d [%thread] (%level) %logger{50} - %msg%n</pattern>
</layout>
</encoder>
</appender>
<root level="info">
<appender-ref ref="FILE" />
</root>
java logging logback
I started to see strange output in my log files:
2018-11-14 14:04:21,180 [main] [34mINFO[0;39m com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated...
2018-11-14 14:04:21,186 [main] [34mINFO[0;39m com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed.`
I don't know what does [34m
or [0;39m
mean and why it is here.
My logback.xml configuration:
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>server.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>server.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy
class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>50MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>30</maxHistory>
</rollingPolicy>
<encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
<charset>UTF-8</charset>
<layout class="ch.qos.logback.classic.PatternLayout">
<pattern>%d [%thread] (%level) %logger{50} - %msg%n</pattern>
</layout>
</encoder>
</appender>
<root level="info">
<appender-ref ref="FILE" />
</root>
java logging logback
java logging logback
edited Nov 14 at 11:33
fantaghirocco
3,62052436
3,62052436
asked Nov 14 at 11:14
Igor Kustov
61
61
maven.40175.n5.nabble.com/…
– fantaghirocco
Nov 14 at 11:29
If I undestand correctly it should be some infos related to synthax colouring
– fantaghirocco
Nov 14 at 11:34
add a comment |
maven.40175.n5.nabble.com/…
– fantaghirocco
Nov 14 at 11:29
If I undestand correctly it should be some infos related to synthax colouring
– fantaghirocco
Nov 14 at 11:34
maven.40175.n5.nabble.com/…
– fantaghirocco
Nov 14 at 11:29
maven.40175.n5.nabble.com/…
– fantaghirocco
Nov 14 at 11:29
If I undestand correctly it should be some infos related to synthax colouring
– fantaghirocco
Nov 14 at 11:34
If I undestand correctly it should be some infos related to synthax colouring
– fantaghirocco
Nov 14 at 11:34
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
Those are escape sequences to color the output. See ANSI escape codes
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Those are escape sequences to color the output. See ANSI escape codes
add a comment |
up vote
1
down vote
Those are escape sequences to color the output. See ANSI escape codes
add a comment |
up vote
1
down vote
up vote
1
down vote
Those are escape sequences to color the output. See ANSI escape codes
Those are escape sequences to color the output. See ANSI escape codes
answered Nov 14 at 11:38
kriths
112
112
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53298918%2fstrange-symbols-in-log-output%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
maven.40175.n5.nabble.com/…
– fantaghirocco
Nov 14 at 11:29
If I undestand correctly it should be some infos related to synthax colouring
– fantaghirocco
Nov 14 at 11:34