Skip to content

Commit f9a4f13

Browse files
Move comment to better place
1 parent 00493ea commit f9a4f13

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dockers/docker-platform-monitor/etc/rsyslog.conf

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ $SystemLogRateLimitBurst 20000
3636
set $.PLATFORM=getenv("PLATFORM");
3737
set $.CONTAINER_NAME=getenv("CONTAINER_NAME");
3838

39+
if ($.PLATFORM == "x86_64-mlnx_msn2700-r0" or $.PLATFORM == "x86_64-mlnx_msn2700a1-r0" or $.PLATFORM == "x86_64-mlnx_msn2410-r0") then {
40+
3941
# This rsyslog configuration is intended to resolve the following error message that only appears on the MSN2700 and MSN2410 platforms:
4042
# "ERR pmon#sensord: Error getting sensor data: dps460/#10: Can't read"
4143
# This error is because of firmware issue with some type of PSU, we are not able to upgrade the FW online.
4244
# Since there is no functional impact, this error log can be ignored safely.
43-
44-
if ($.PLATFORM == "x86_64-mlnx_msn2700-r0" or $.PLATFORM == "x86_64-mlnx_msn2700a1-r0" or $.PLATFORM == "x86_64-mlnx_msn2410-r0") then {
45-
if $programname contains "sensord" and $msg contains "Error getting sensor data: dps460/#" then stop
45+
if $programname contains "sensord" and $msg contains "Error getting sensor data: dps460/#" then stop
4646
}
4747

4848
# Set remote syslog server

0 commit comments

Comments
 (0)