[cups-devel] [UNKN] STR #4559: cupsd Missing value on line But No File Name in System Log

Garry T. Williams noreply at cups.org
Tue Jan 6 17:01:08 PST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

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.

Link: https://www.cups.org/str.php?L4559
Version: 1.7.5
Attachment: https://www.cups.org/strfiles.php/3433/cups-syslog.patch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJUrIVUAAoJENujp6sI12IjujsP/R1YojycWEZtm9hY+aaBWoCc
BdXvHadpwzW2jznVA4sehOQWdx+qlhjdnE/tOm8tI6mr5Fh5EkMm7Tol6GsH83LO
Vee19BRHduXf4uBM5YT6KgSsUCKdlhF16UpzPqyVGD3lUJtV9OvGJMuYY5MaoZin
OWbBra+SqjW1eo4s7UW61E828jTYKIrr7f1Q4GNXQkbk26Kfara0q1C/glwl+ioY
dH5B8eWg32vXzLAaZKLdZvKbLs2lk3o/Q5dQmHnP8m0aI8eZ5BCRq4Qh09xK6I3F
vMK56DzBLMUQNfYD7XHWdHJHSgSpNE9gX/FWbliyUrhUdd1t+N+3PKViaigb5p2y
WDiT25ALq90UwKTyn+iIgPyGGN/nQ9jZM7iGEJhHMQz7i+2+2PZf532nsTms0rdx
oaoxiqVUlsvZELjJy7ELtW0D/LrFRHf7+4Q8gevPha92Q2VW6t834tyO/2Vu1ZE+
6BjUMUF2Ufb5++noF5+OnyAbuv8ZqbXXJsAi1lHtPu3GmF3UMLRwz/PUw4GSLPL0
8lX+9il2xHHwMDUdqOs1VcFC+FnXbi+fBrFmEFux7XVhNnqnBs40VbVSiMEf7b9M
ygSEVKfmWXdAd6G/8gGk/JVxJesiJPsUMwUy2K6+kbL3GnQh4XcGpyekzt456+um
4FPNM/Y77XHAgnyHa38m
=T1xL
-----END PGP SIGNATURE-----




More information about the cups-devel mailing list