Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
TangoArchivingGraphQLExtractor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software Control System
Tango controls archiving
TangoArchivingGraphQLExtractor
Commits
3b19131f
Commit
3b19131f
authored
4 months ago
by
Alexandre TISON
Browse files
Options
Downloads
Patches
Plain Diff
Test rolling log files
parent
a9ffc18c
No related branches found
No related tags found
1 merge request
!11
changed port from 5000 to 9036 as 5000 is known to be used by some trojans
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/resources/logback-spring.xml
+13
-0
13 additions, 0 deletions
src/main/resources/logback-spring.xml
with
13 additions
and
0 deletions
src/main/resources/logback-spring.xml
+
13
−
0
View file @
3b19131f
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender
name=
"ROLLING"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<file>
/workspace/app.log
</file>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<fileNamePattern>
/workspace/logFile.%d{yyyy-MM-dd_HH:mm:ss}.log
</fileNamePattern>
<maxHistory>
30
</maxHistory>
<totalSizeCap>
20GB
</totalSizeCap>
</rollingPolicy>
<encoder>
<pattern>
%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} -- %msg%n
</pattern>
</encoder>
</appender>
<springProfile
name=
"dev"
>
<include
resource=
"org/springframework/boot/logging/logback/defaults.xml"
/>
<include
resource=
"org/springframework/boot/logging/logback/console-appender.xml"
/>
...
...
@@ -18,6 +30,7 @@
<logger
name=
"com.zaxxer"
level=
"INFO"
/>
<root
level=
"INFO"
>
<appender-ref
ref=
"CONSOLE"
/>
<appender-ref
ref=
"ROLLING"
/>
</root>
</springProfile>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment