Skip to content
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

debuglevel info shows different infos comparing 1.3.6. to 1.3.8 #2943

Closed
michaelrsweet opened this issue Sep 12, 2008 · 2 comments
Closed

debuglevel info shows different infos comparing 1.3.6. to 1.3.8 #2943

michaelrsweet opened this issue Sep 12, 2008 · 2 comments
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.3.8
CUPS.org User: fja

Hi!
It's just a little hint, but maybe useful for someone. Until 1.3.6
we saw in error_log at debuglevel info the following infos for a job:

I [12/Sep/2008:15:10:20 +0200] [Job 3526076] Adding start banner page "none".
I [12/Sep/2008:15:10:20 +0200] [Job 3526076] Adding job file of type text/plain.
I [12/Sep/2008:15:10:20 +0200] [Job 3526076] Adding end banner page "none".
I [12/Sep/2008:15:10:20 +0200] [Job 3526076] Queued on "d_zfpark_02" by "ora920".
I [12/Sep/2008:15:10:20 +0200] [Job 3526076] Started filter /usr/lib/cups/filter/billa_filter_comp (PID 19305)
I [12/Sep/2008:15:10:20 +0200] [Job 3526076] Started filter /usr/lib/cups/filter/pstops (PID 19306)
I [12/Sep/2008:15:10:20 +0200] [Job 3526076] Started filter /usr/lib/cups/filter/foomatic-rip (PID 19307)
I [12/Sep/2008:15:10:20 +0200] [Job 3526076] Started backend /usr/lib/cups/backend/socket (PID 19308)
I [12/Sep/2008:15:10:33 +0200] [Job 3526076] Completed successfully.

Since 1.3.8 - we get this output:

I [12/Sep/2008:15:07:09 +0200] [Job 48853] Adding start banner page "none".
I [12/Sep/2008:15:07:09 +0200] [Job 48853] Adding end banner page "none".
I [12/Sep/2008:15:07:09 +0200] [Job 48853] File of type text/plain queued by "prod".
I [12/Sep/2008:15:07:09 +0200] [Job 48853] Started filter /usr/lib/cups/filter/billa_filter_comp (PID 31241)
I [12/Sep/2008:15:07:09 +0200] [Job 48853] Started filter /usr/lib/cups/filter/pstops (PID 31242)
I [12/Sep/2008:15:07:09 +0200] [Job 48853] Started filter /usr/lib/cups/filter/foomatic-rip (PID 31243)
I [12/Sep/2008:15:07:09 +0200] [Job 48853] Started backend /usr/lib/cups/backend/socket (PID 31244)
I [12/Sep/2008:15:07:19 +0200] [Job 48853] Completed successfully.

For a quick search, the line

I [12/Sep/2008:15:10:20 +0200] [Job 3526076] Queued on "d_zfpark_02" by "ora920".

in the logfile was often helpful, so I post this this way to get
more infos about this change.

Kind regards
Franz

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Fixed in Subversion repository.

The message was missing for single file jobs but not multi-file jobs...

@michaelrsweet
Copy link
Collaborator Author

"str2943.patch":

Index: doc/help/spec-ipp.html

--- doc/help/spec-ipp.html (revision 7941)
+++ doc/help/spec-ipp.html (working copy)
@@ -793,16 +793,16 @@
attributes as described in section 3.1.4.1 of the IPP Model and
Semantics document.

  • "first-printer-name" (name(127)):CUPS 1.2
  • The client OPTIONALLY supplies this attribute to
  • select the first printer that is returned.
"limit" (integer (1:MAX)):
The client OPTIONALLY supplies this attribute limiting the number of printers that are returned.

-
"printer-info" (text(127)):CUPS 1.1

  • The client OPTIONALLY supplies this attribute to

- select which printers are returned.

<dt>"printer-location" (text(127)): <span class='info'>CUPS 1.1.7</span>

<dd>The client OPTIONALLY supplies this attribute to

@@ -827,6 +827,11 @@
responds as if this attribute had been supplied with a value of
'all'.

  • "requested-user-name" (name(127)) : CUPS 1.2
  • The client OPTIONALLY supplies a user name that is used to filter
  • the returned printers.

CUPS-Get-Printers Response

@@ -1052,15 +1057,16 @@
attributes as described in section 3.1.4.1 of the IPP Model and
Semantics document.

  • "first-printer-name" (name(127)):CUPS 1.2
  • The client OPTIONALLY supplies this attribute to
  • select the first printer that is returned.
"limit" (integer (1:MAX)):
The client OPTIONALLY supplies this attribute limiting the number of printer classes that are returned. -
"printer-info" (text(127)): CUPS 1.1.7 -
The client OPTIONALLY supplies this attribute to

- select which printer classes are returned.

<dt>"printer-location" (text(127)): <span class='info'>CUPS 1.1.7</span>
<dd>The client OPTIONALLY supplies this attribute to
select which printer classes are returned.

@@ -1081,6 +1087,11 @@
interested. If the client omits this attribute, the server responds as
if this attribute had been supplied with a value of 'all'.

  • "requested-user-name" (name(127)) : CUPS 1.2
  • The client OPTIONALLY supplies a user name that is used to filter
  • the returned printers.

CUPS-Get-Classes Response

Index: CHANGES.txt

--- CHANGES.txt (revision 7941)
+++ CHANGES.txt (working copy)
@@ -1,9 +1,11 @@
-CHANGES.txt - 2008-09-07

+CHANGES.txt - 2008-09-16

CHANGES IN CUPS V1.3.9

cupsdSaveJob(job);

  • cupsdLogMessage(CUPSD_LOG_INFO, "[Job %d] Queued on "%s" by "%s".",
  •              job->id, job->dest, job->username);
    
    /*
    • Start the job if possible...
      */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant