Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sap-service
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
sap-service
Commits
51660535
Commit
51660535
authored
Jul 17, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
9a0e4397
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
16 deletions
+15
-16
logback.xml
src/main/resources/logback.xml
+15
-16
No files found.
src/main/resources/logback.xml
View file @
51660535
...
@@ -9,8 +9,7 @@
...
@@ -9,8 +9,7 @@
<DefaultValue>
logback
</DefaultValue>
<DefaultValue>
logback
</DefaultValue>
</discriminator>
</discriminator>
<sift>
<sift>
<appender
name=
"rollingFileAppender"
<appender
name=
"rollingFileAppender"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<FileNamePattern>
/data/logs/sap-service/${context}-%d{yyyy-MM-dd}.log
</FileNamePattern>
<FileNamePattern>
/data/logs/sap-service/${context}-%d{yyyy-MM-dd}.log
</FileNamePattern>
<MaxHistory>
30
</MaxHistory>
<MaxHistory>
30
</MaxHistory>
...
@@ -19,8 +18,10 @@
...
@@ -19,8 +18,10 @@
<pattern>
${CONSOLE_LOG_PATTERN}
</pattern>
<pattern>
${CONSOLE_LOG_PATTERN}
</pattern>
</encoder>
</encoder>
</appender>
</appender>
</sift>
</appender>
<appender
name=
"errorAppender"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<appender
name=
"errorAppender"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<file>
/logs/venality.log
</file>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<FileNamePattern>
/data/logs/sap-service/${context}-%d{yyyy-MM-dd}.err.log
</FileNamePattern>
<FileNamePattern>
/data/logs/sap-service/${context}-%d{yyyy-MM-dd}.err.log
</FileNamePattern>
<MaxHistory>
30
</MaxHistory>
<MaxHistory>
30
</MaxHistory>
...
@@ -29,13 +30,10 @@
...
@@ -29,13 +30,10 @@
<pattern>
${CONSOLE_LOG_PATTERN}
</pattern>
<pattern>
${CONSOLE_LOG_PATTERN}
</pattern>
</encoder>
</encoder>
</appender>
</appender>
</sift>
</appender>
<root
level=
"INFO"
>
<root
level=
"INFO"
>
<appender-ref
ref=
"siftingAppender"
/>
<appender-ref
ref=
"siftingAppender"
/>
</root>
</root>
<springProfile
name=
"dev"
>
<springProfile
name=
"dev"
>
<root
level=
"INFO"
>
<root
level=
"INFO"
>
<appender-ref
ref=
"siftingAppender"
/>
<appender-ref
ref=
"siftingAppender"
/>
...
@@ -46,10 +44,11 @@
...
@@ -46,10 +44,11 @@
<root
level=
"INFO"
>
<root
level=
"INFO"
>
<appender-ref
ref=
"siftingAppender"
/>
<appender-ref
ref=
"siftingAppender"
/>
</root>
</root>
</springProfile>
<logger
name=
"com.egolm.sso.config.ExceptionAspect"
level=
"ERROR"
>
<logger
name=
"com.egolm.sso.config.ExceptionAspect"
level=
"ERROR"
>
<appender-ref
ref=
"errorAppender"
/>
<appender-ref
ref=
"errorAppender"
/>
</logger>
</logger>
</springProfile>
<!-- <logger name="com.microsoft" level="INFO" />
<!-- <logger name="com.microsoft" level="INFO" />
<logger name="com.alibaba" level="INFO" />
<logger name="com.alibaba" level="INFO" />
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment