-
Notifications
You must be signed in to change notification settings - Fork 457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cupsd Missing value on line But No File Name in System Log #4559
Comments
CUPS.org User: mike Fixed in Subversion repository. |
"cups-syslog.patch": --- cups-1.7.5/scheduler/conf.c.orig 2014-12-28 14:52:33.588370810 -0500
@@ -809,7 +811,7 @@ cupsdReadConfiguration(void)
cupsFileClose(fp); @@ -2837,7 +2839,8 @@ parse_variable( static int /* O - 1 on success, 0 on failure /
|
"str4559.patch": Index: scheduler/conf.c--- scheduler/conf.c (revision 12451)
@@ -2194,8 +2194,8 @@
@@ -2348,8 +2348,8 @@
@@ -3133,8 +3133,8 @@
@@ -3742,8 +3742,8 @@
@@ -3753,7 +3753,7 @@
@@ -4104,8 +4103,7 @@
@@ -4144,7 +4142,7 @@
@@ -4301,14 +4297,13 @@
Index: scheduler/printers.c--- scheduler/printers.c (revision 12451)
if (pstatus <= PPD_ALLOC_ERROR)
|
Version: 1.7.5
CUPS.org User: gtwilliams
cupsd logs these messages:
Dec 27 17:20:54 vfr cupsd[20118]: Missing value on line 22.
Dec 27 17:20:54 vfr cupsd[20118]: Missing value on line 370.
Dec 27 17:20:55 vfr cupsd[20118]: Missing value on line 407.
They are useless. OK, that's maybe slightly harsh, but without a file
name, what good are they? I checked my best guesses (*.ppd and
cupsd.conf) and none of the files I looked at match the errors being
logged.
I checked all files in the /etc/cups and /etc/cups/ppd directories and
none of these files matches the logged error messages.
At the end of the day, my printer still works, so this is, at the
moment, just cosmetic.
This patch changes all messages that end in "Missing value on line
%d." to add the name of the file. There are other messages logged
that could benefit from the same treatment, but I didn't attempt to
find and fix them.
With this patch, my immediate problem is fixed since I can now see
that the complaint is about the file /var/cache/cups/job.cache .
I did not attempt to test all the call sites I patched. I had no idea
which call site was mine.
The text was updated successfully, but these errors were encountered: