1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 12_quiesce_ipp_logging.dpatch by <mpitt@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
8
diff -urNad cups-1.2.2~/scheduler/log.c cups-1.2.2/scheduler/log.c
9
--- cups-1.2.2~/scheduler/log.c 2006-08-13 04:49:19.000000000 +0000
10
+++ cups-1.2.2/scheduler/log.c 2006-08-13 05:17:06.000000000 +0000
15
+ /* Do not flood the log with CUPS-Get-Printers requests */
16
+ if (con->request && code == HTTP_OK && (
17
+ con->request->request.op.operation_id == CUPS_GET_PRINTERS ||
18
+ con->request->request.op.operation_id == CUPS_GET_DEFAULT ||
19
+ con->request->request.op.operation_id == IPP_GET_PRINTER_ATTRIBUTES))