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

DEBUG messages appearing as ERRORS #1579

Closed
michaelrsweet opened this Issue Apr 20, 2006 · 2 comments

Comments

Projects
None yet
1 participant
@michaelrsweet
Collaborator

michaelrsweet commented Apr 20, 2006

Version: 1.2-current
CUPS.org User: jlovell

Messages that used to be logged as DEBUG in 1.1 are being logged as ERRORS in 1.2. Unfortunetly some of the Apple filters assumed these would be logged as debug. The attached patch restores the old behavior.

Thanks!

@michaelrsweet

This comment has been minimized.

Collaborator

michaelrsweet commented Apr 21, 2006

CUPS.org User: mike

Hmm, OK, yes, we'll change it back; the change was made in order to promote messages from filters like Ghostscript to "error" status so that debugging of problems would be easier.

Since the web interface provides a "show debug info" check box now, this isn't as critical...

@michaelrsweet

This comment has been minimized.

Collaborator

michaelrsweet commented Apr 21, 2006

"statbuf.c.patch":

Index: statbuf.c

--- statbuf.c (revision 5446)
+++ statbuf.c (working copy)
@@ -277,7 +277,7 @@
}
else
{

  • *loglevel = CUPSD_LOG_ERROR;
  • *loglevel = CUPSD_LOG_DEBUG;
    message = sb->buffer;
    }

@michaelrsweet michaelrsweet added this to the Stable milestone Mar 17, 2016

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