Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
examsAndAdmissions
Commits
689a6821
Commit
689a6821
authored
1 year ago
by
Mahesh Maney R
Browse files
Options
Download
Patches
Plain Diff
adding server port and logger config files.
parent
0cee689b
main
Response_fixes
access_based_check
auxillary_apis
bug_fix_question_paper_upload
development
fee_changes
fee_workflow
github/fork/ruksana2808/filter_bug_examCycle
instituteApis_shishir
uri_access_check
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/resources/application.properties
+1
-1
src/main/resources/application.properties
src/main/resources/logback.xml
+37
-0
src/main/resources/logback.xml
with
38 additions
and
1 deletion
+38
-1
src/main/resources/application.properties
+
1
−
1
View file @
689a6821
server.port
=
server.port
=
This diff is collapsed.
Click to expand it.
src/main/resources/logback.xml
0 → 100644
+
37
−
0
View file @
689a6821
<configuration
debug=
"false"
>
<!--<property name="LOGS" value="/var/log/upsmf/examsAndAdmission/logs" />-->
<property
name=
"LOGS"
value=
"/tmp/logs"
/>
<property
scope=
"context"
name=
"COLORIZER_COLORS"
value=
"boldred@white,yellow@black,green@,blue@,cyan@"
/>
<conversionRule
conversionWord=
"colorize"
converterClass=
"org.tuxdude.logback.extensions.LogColorizer"
/>
<appender
name=
"STDOUT"
class=
"ch.qos.logback.core.ConsoleAppender"
>
<layout
class=
"ch.qos.logback.classic.PatternLayout"
>
<Pattern>
%highlight(%date{ISO8601}) %highlight([%level]) %highlight([%10thread]) %colorize(%-40logger{36}) - %colorize(%msg%n)
</Pattern>
</layout>
</appender>
<appender
name=
"RollingFile"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<file>
${LOGS}/upsmf-examsAndAdmission-logger.log
</file>
<encoder
class=
"ch.qos.logback.classic.encoder.PatternLayoutEncoder"
>
<Pattern>
%d %p %C{1.} [%t] %m%n
</Pattern>
</encoder>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<!-- rollover daily and when the file reaches 10 MegaBytes -->
<fileNamePattern>
${LOGS}/archived/upsmf-examsAndAdmission-logger-%d{yyyy-MM-dd}.%i.log
</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"
>
<maxFileSize>
10MB
</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
</rollingPolicy>
</appender>
<root
level=
"info"
>
<appender-ref
ref=
"STDOUT"
/>
<appender-ref
ref=
"RollingFile"
/>
</root>
<logger
name=
"com.tarento.upsmf"
level=
"INFO"
/>
</configuration>
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets