-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
logging slf4j logback and install openssl in dockerfile needed for ap…
…i-server startup
- Loading branch information
Showing
7 changed files
with
173 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
<!-- Logback Configuration. See http://logback.qos.ch/ --> | ||
<!-- scan configuration for changes enable it by setting it to true --> | ||
<configuration scan="true" scanPeriod="10 seconds"> | ||
|
||
<!-- <property resource="nuvla.properties"/>--> | ||
|
||
<!-- Console (STDOUT) output. --> | ||
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> | ||
|
||
<!-- Only print log messages at level WARN or higher. --> | ||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter"> | ||
<level>INFO</level> | ||
</filter> | ||
|
||
<!-- Default encoder is ch.qos.logback.classic.encoder.PatternLayoutEncoder --> | ||
<encoder> | ||
<!-- two-line layout suitable for a terminal --> | ||
<pattern>%date - %-5level - %logger - [%thread] - %msg%n</pattern> | ||
<charset>UTF-8</charset> | ||
</encoder> | ||
</appender> | ||
|
||
|
||
<!-- The output file configuration for log/all.log --> | ||
<!-- <appender name="ALL_LOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">--> | ||
|
||
<!-- <!– Default encoder is ch.qos.logback.classic.encoder.PatternLayoutEncoder –>--> | ||
<!-- <encoder>--> | ||
<!-- <pattern>%date{HH:mm:ss.SSS} %-5level %logger{25}: %msg %X thread=%thread%n</pattern>--> | ||
<!-- </encoder>--> | ||
|
||
<!-- <!– Default location of log file is log/all.log –>--> | ||
<!-- <file>log/all.log</file>--> | ||
|
||
<!-- <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">--> | ||
<!-- <!– Roll over log files daily –>--> | ||
<!-- <fileNamePattern>log/all.%d{yyyy-MM-dd}.%i.log</fileNamePattern>--> | ||
|
||
<!-- <!– And start a new file every 64 MB –>--> | ||
<!-- <maxFileSize>64 MB</maxFileSize>--> | ||
|
||
<!-- <!– Keep at most 15 days of history –>--> | ||
<!-- <maxHistory>15</maxHistory>--> | ||
|
||
<!-- <!– Up to a maximum of 512 MB –>--> | ||
<!-- <totalSizeCap>512MB</totalSizeCap>--> | ||
|
||
<!-- <!– Ensure short-lived processes still clean up old logs –>--> | ||
<!-- <cleanHistoryOnStart>true</cleanHistoryOnStart>--> | ||
<!-- </rollingPolicy>--> | ||
<!-- </appender>--> | ||
|
||
|
||
<!-- The output file configuration for log/app.log --> | ||
<!-- <appender name="APP_LOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">--> | ||
|
||
<!-- <!– Default encoder is ch.qos.logback.classic.encoder.PatternLayoutEncoder –>--> | ||
<!-- <encoder>--> | ||
<!-- <pattern>%date{HH:mm:ss.SSS} %-5level %logger{25}: %msg %X thread=%thread%n</pattern>--> | ||
<!-- </encoder>--> | ||
|
||
<!-- <!– Default location of log file is log/app.log –>--> | ||
<!-- <file>log/app.log</file>--> | ||
|
||
<!-- <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">--> | ||
<!-- <!– Roll over log files daily –>--> | ||
<!-- <fileNamePattern>log/app.%d{yyyy-MM-dd}.%i.log</fileNamePattern>--> | ||
|
||
<!-- <!– And start a new file every 64 MB –>--> | ||
<!-- <maxFileSize>64 MB</maxFileSize>--> | ||
|
||
<!-- <!– Keep at most 15 days of history –>--> | ||
<!-- <maxHistory>15</maxHistory>--> | ||
|
||
<!-- <!– Up to a maximum of 512 MB –>--> | ||
<!-- <totalSizeCap>512MB</totalSizeCap>--> | ||
|
||
<!-- <!– Ensure short-lived processes still clean up old logs –>--> | ||
<!-- <cleanHistoryOnStart>true</cleanHistoryOnStart>--> | ||
<!-- </rollingPolicy>--> | ||
<!-- </appender>--> | ||
|
||
|
||
<!-- Root log level is "ALL", meaning all log levels are emitted. --> | ||
<root level="ALL"> | ||
|
||
<!-- Send all log messages to console (filtered to WARN) --> | ||
<appender-ref ref="CONSOLE"/> | ||
|
||
<!-- <!– Send all log messages to log/all.log –>--> | ||
<!-- <appender-ref ref="ALL_LOG_FILE" />--> | ||
</root> | ||
|
||
|
||
<!-- Log messages from your application will be included in | ||
log/all.log. In addition, we will send just messages from your | ||
application to log/app.log --> | ||
<!-- <logger name="${app_root_logger:-com.example.application}" level="ALL">--> | ||
<!-- <appender-ref ref="APP_LOG_FILE" />--> | ||
<!-- </logger>--> | ||
|
||
<!-- If you have a REPL or interactive shell with a logger named | ||
'user' or 'dev', send those messages to log/app.log too. --> | ||
<!-- <logger name="user" level="ALL">--> | ||
<!-- <appender-ref ref="APP_LOG_FILE" />--> | ||
<!-- </logger>--> | ||
<!-- <logger name="dev" level="ALL">--> | ||
<!-- <appender-ref ref="APP_LOG_FILE" />--> | ||
<!-- </logger>--> | ||
|
||
|
||
<!-- Make java.util.logging more efficient at disabled levels. | ||
See http://logback.qos.ch/manual/configuration.html#LevelChangePropagator --> | ||
<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator"> | ||
<resetJUL>true</resetJUL> | ||
</contextListener> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters