Skip to content

Commit

Permalink
meta-ampere: mtmitchell: remove the flood of error messages in journa…
Browse files Browse the repository at this point in the history
…l log

Fault monitor asserts the Fault LEDs and create SEL logs to notify
about the failure. There is no need to flood the journal log with these
related error messages.

Signed-off-by: Thu Nguyen <[email protected]>
  • Loading branch information
ThuBaNguyen authored and vkphong-ampere committed Dec 27, 2023
1 parent 2afc063 commit da72d76
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ control_psu_fault_led() {

check_overtemp_occured() {
if [[ -f $overtemp_fault_flag ]]; then
echo "Over temperature occured, turn on fault LED"
overtemp_occured="true"
else
overtemp_occured="false"
Expand All @@ -168,7 +167,6 @@ check_overtemp_occured() {

check_gpio_fault() {
if [[ -f $gpio_fault_flag ]]; then
echo "GPIO fault event(s) occured, turn on fault LED"
gpio_fault="true"
else
gpio_fault="false"
Expand All @@ -177,7 +175,6 @@ check_gpio_fault() {

check_RAS_UE_occured() {
if [[ -f $fault_RAS_UE_flag ]]; then
echo "RAS UE error occured, turn on fault LED"
RAS_UE_occured="true"
else
RAS_UE_occured="false"
Expand Down

0 comments on commit da72d76

Please sign in to comment.