-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adjust_sleep_time(): change syslog msg level from WARNING to VERBOSE
addresses issue #427 "Keep adjusting multiplier" msg fills syslog when libddcutil used by clightd
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
@@ -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; | ||
|
@@ -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); | ||
|
||
|