Skip to content

Commit b6aeb86

Browse files
author
Himani Anil Deshpande
committed
[NVIDIA-IMEX] Redirect nvidia-imex to system logs which are pushed in CW
1 parent d8029fa commit b6aeb86

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cookbooks/aws-parallelcluster-platform/templates/nvidia-imex/nvidia-imex-config.erb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ LOG_LEVEL=4
1818
# to console(stderr). If the specified log file can't be opened or the
1919
# path is empty.
2020
# Default Value: /var/log/nvidia-imex.log
21-
LOG_FILE_NAME=/var/log/nvidia-imex.log
21+
# LOG_FILE_NAME=/var/log/nvidia-imex.log
2222

2323
# Description: Filename for IMEX stats logging
2424
# Possible Values:
@@ -28,7 +28,7 @@ LOG_FILE_NAME=/var/log/nvidia-imex.log
2828
# Default Value: /var/log/nvidia-imex-stats.log
2929
# Note: If STATS_FILE_NAME is configured same as LOG_FILE_NAME, then stats will
3030
# be redirected to the path/filename specified by LOG_FILE_NAME.
31-
STATS_FILE_NAME=/var/log/nvidia-imex-stats.log
31+
# STATS_FILE_NAME=/var/log/nvidia-imex-stats.log
3232

3333
# Description: Append to an existing log file or overwrite the logs
3434
# Possible Values:
@@ -41,7 +41,7 @@ LOG_APPEND_TO_LOG=1
4141
# Possible Values:
4242
# Any Integer values
4343
# Default Value: 1024
44-
LOG_FILE_MAX_SIZE=1024
44+
# LOG_FILE_MAX_SIZE=1024
4545

4646
# Description: Number of times the IMEX log is rotated once it reaches LOG_FILE_MAX_SIZE
4747
# Possible Values:
@@ -58,7 +58,7 @@ LOG_MAX_ROTATE_COUNT=3
5858
# 0 - No
5959
# 1 - Yes
6060
# Default Value: 0
61-
LOG_USE_SYSLOG=0
61+
LOG_USE_SYSLOG=1
6262

6363
# Description: daemonize IMEX on start-up
6464
# Possible Values:

0 commit comments

Comments
 (0)