-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
738 additions
and
180 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.0.6.dev0 | ||
2.0.11.dev0 |
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
50 changes: 0 additions & 50 deletions
50
src/sagemaker_pytorch_serving_container/etc/log4j.properties
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,87 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Configuration> | ||
<Appenders> | ||
<Console name="STDOUT" target="SYSTEM_OUT"> | ||
<PatternLayout pattern="%d{ISO8601} [%-5p] %t %c - %m%n"/> | ||
</Console> | ||
<RollingFile | ||
name="access_log" | ||
fileName="${env:LOG_LOCATION:-logs}/access_log.log" | ||
filePattern="${env:LOG_LOCATION:-logs}/access_log.%d{dd-MMM}.log.gz"> | ||
<PatternLayout pattern="%d{ISO8601} - %m%n"/> | ||
<Policies> | ||
<SizeBasedTriggeringPolicy size="10 MB"/> | ||
<TimeBasedTriggeringPolicy/> | ||
</Policies> | ||
<DefaultRolloverStrategy max="5"/> | ||
</RollingFile> | ||
<RollingFile | ||
name="model_log" | ||
fileName="${env:LOG_LOCATION:-logs}/model_log.log" | ||
filePattern="${env:LOG_LOCATION:-logs}/model_log.%d{dd-MMM}.log.gz"> | ||
<PatternLayout pattern="%d{ISO8601} [%-5p] %c - %m%n"/> | ||
<Policies> | ||
<SizeBasedTriggeringPolicy size="10 MB"/> | ||
<TimeBasedTriggeringPolicy/> | ||
</Policies> | ||
<DefaultRolloverStrategy max="5"/> | ||
</RollingFile> | ||
<RollingFile | ||
name="model_metrics" | ||
fileName="${env:METRICS_LOCATION:-logs}/model_metrics.log" | ||
filePattern="${env:METRICS_LOCATION:-logs}/model_metrics.%d{dd-MMM}.log.gz"> | ||
<PatternLayout pattern="%d{ISO8601} - %m%n"/> | ||
<Policies> | ||
<SizeBasedTriggeringPolicy size="10 MB"/> | ||
<TimeBasedTriggeringPolicy/> | ||
</Policies> | ||
<DefaultRolloverStrategy max="5"/> | ||
</RollingFile> | ||
<RollingFile | ||
name="ts_log" | ||
fileName="${env:LOG_LOCATION:-logs}/ts_log.log" | ||
filePattern="${env:LOG_LOCATION:-logs}/ts_log.%d{dd-MMM}.log.gz"> | ||
<PatternLayout pattern="%d{ISO8601} [%-5p] %t %c - %m%n"/> | ||
<Policies> | ||
<SizeBasedTriggeringPolicy size="10 MB"/> | ||
<TimeBasedTriggeringPolicy/> | ||
</Policies> | ||
<DefaultRolloverStrategy max="5"/> | ||
</RollingFile> | ||
<RollingFile | ||
name="ts_metrics" | ||
fileName="${env:METRICS_LOCATION:-logs}/ts_metrics.log" | ||
filePattern="${env:METRICS_LOCATION:-logs}/ts_metrics.%d{dd-MMM}.log.gz"> | ||
<PatternLayout pattern="%d{ISO8601} - %m%n"/> | ||
<Policies> | ||
<SizeBasedTriggeringPolicy size="10 MB"/> | ||
<TimeBasedTriggeringPolicy/> | ||
</Policies> | ||
<DefaultRolloverStrategy max="5"/> | ||
</RollingFile> | ||
</Appenders> | ||
<Loggers> | ||
<Logger name="ACCESS_LOG" level="info"> | ||
<AppenderRef ref="access_log"/> | ||
</Logger> | ||
<Logger name="io.netty" level="error"/> | ||
<Logger name="MODEL_LOG" level="info"> | ||
<AppenderRef ref="model_log"/> | ||
</Logger> | ||
<Logger name="MODEL_METRICS" level="info"> | ||
<AppenderRef ref="model_metrics"/> | ||
</Logger> | ||
<Logger name="org.apache" level="off"/> | ||
<Logger name="org.pytorch.serve" level="info"> | ||
<AppenderRef ref="ts_log"/> | ||
</Logger> | ||
<Logger name="TS_METRICS" level="info"> | ||
<AppenderRef ref="ts_metrics"/> | ||
</Logger> | ||
<Root level="info"> | ||
<AppenderRef ref="STDOUT"/> | ||
<AppenderRef ref="ts_log"/> | ||
</Root> | ||
</Loggers> | ||
</Configuration> | ||
|
Oops, something went wrong.