Skip to content

Commit

Permalink
Enable telemetry. (#146)
Browse files Browse the repository at this point in the history
Co-authored-by: Boyu Chen <[email protected]>
  • Loading branch information
chen3933 and Boyu Chen authored May 25, 2023
1 parent 4f7d6ca commit 7d63acc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sagemaker_pytorch_serving_container/etc/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@
</RollingFile>
<Null name="null_appender"/>
<Routing name="telemetry_metrics">
<Routes pattern="${env:SM_TELEMETRY_LOG:-OPT_OUT}">
<Routes pattern="${env:SM_TELEMETRY_LOG_REV_2022_12:-OPT_OUT}">
<Route ref="null_appender" key="OPT_OUT"/>
<Route key="${env:SM_TELEMETRY_LOG}">
<File name="remote_appender" fileName="${env:SM_TELEMETRY_LOG}">
<Route key="${env:SM_TELEMETRY_LOG_REV_2022_12}">
<File name="remote_appender" fileName="${env:SM_TELEMETRY_LOG_REV_2022_12}">
<PatternLayout pattern="%m%n"/>
</File>
</Route>
Expand Down

0 comments on commit 7d63acc

Please sign in to comment.