forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch message is in that file; also submitted upstream but that will probably take a while, so this is a stopgap until then.
- Loading branch information
Showing
3 changed files
with
33 additions
and
29 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
pkgs/misc/cups/0001-Increase-log-level-for-Expiring-subscriptions.patch
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 7225df2a2a52309dcb11922d718f79329cbdaefb Mon Sep 17 00:00:00 2001 | ||
From: ckie <git-525ff67@ckie.dev> | ||
Date: Mon, 2 Jan 2023 00:20:51 +0200 | ||
Subject: [PATCH] Increase log level for "Expiring subscriptions..." | ||
|
||
Fixes https://github.com/NixOS/nixpkgs/issues/195090. | ||
|
||
NixOS systems with Avahi enabled would previously spam the journal with | ||
this log message once a second: this hides that spam behind the log level. | ||
--- | ||
scheduler/subscriptions.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/scheduler/subscriptions.c b/scheduler/subscriptions.c | ||
index 2dbb28f85..9b31ec250 100644 | ||
--- a/scheduler/subscriptions.c | ||
+++ b/scheduler/subscriptions.c | ||
@@ -621,7 +621,7 @@ cupsdExpireSubscriptions( | ||
curtime = time(NULL); | ||
update = 0; | ||
|
||
- cupsdLogMessage(CUPSD_LOG_INFO, "Expiring subscriptions..."); | ||
+ cupsdLogMessage(CUPSD_LOG_DEBUG, "Expiring subscriptions..."); | ||
|
||
for (sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); | ||
sub; | ||
-- | ||
2.38.1 | ||
|
This file was deleted.
Oops, something went wrong.
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