Skip to content

Commit

Permalink
adjust_sleep_time(): change syslog msg level from WARNING to VERBOSE
Browse files Browse the repository at this point in the history
addresses issue #427 "Keep adjusting multiplier" msg fills syslog
when libddcutil used by clightd
  • Loading branch information
rockowitz committed Jun 5, 2024
1 parent 3f880d6 commit ed0f927
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/base/tuned_sleep.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* and applicable multipliers.
*/

// Copyright (C) 2019-2023 Sanford Rockowitz <[email protected]>
// Copyright (C) 2019-2024 Sanford Rockowitz <[email protected]>
// SPDX-License-Identifier: GPL-2.0-or-later

#include <assert.h>
Expand Down Expand Up @@ -193,7 +193,7 @@ adjust_sleep_time(
DBGTRC_NOPREFIX(debug, TRACE_GROUP,
"dh=%s, Replacing adjusted sleep multiplier %3.2f with 1.00 for SE_POST_WRITE or SE_POST_SAVE_SETTINGS",
dh_repr(dh), dsa_multiplier);
SYSLOG2(DDCA_SYSLOG_WARNING,
SYSLOG2(DDCA_SYSLOG_VERBOSE,
"dh=%s, Replacing adjusted sleep multiplier %3.2f with 1.00 for SE_POST_WRITE or SE_POST_SAVE_SETTINGS",
dh_repr(dh), dsa_multiplier);
dsa_multiplier = 1.0;
Expand All @@ -202,7 +202,7 @@ adjust_sleep_time(
DBGTRC_NOPREFIX(debug, TRACE_GROUP,
"dh=%s, Keeping adjusted sleep multiplier %3.2f for SE_POST_WRITE or SE_POST_SAVE_SETTINGS",
dh_repr(dh), dsa_multiplier);
SYSLOG2(DDCA_SYSLOG_WARNING,
SYSLOG2(DDCA_SYSLOG_VERBOSE,
"dh=%s, Keeping adjusted sleep multiplier %3.2f for SE_POST_WRITE or SE_POST_SAVE_SETTINGS",
dh_repr(dh), dsa_multiplier);

Expand Down

0 comments on commit ed0f927

Please sign in to comment.