[cups-devel] Debug Logging in Cups
David Valleau <[email protected]> Thu, 19 Oct 2017 11:43:42 -0700
| Newsgroups | gmane.comp.printing.cups.devel |
|---|---|
| Message-ID | <CAG5ZXNRqTNQ=Et=RNS_KDhgAgAjgyGvy+=51_et6BeBY9qt3-Q@mail.gmail.com> |
Hello, I am currently doing some work in the CUPS code and am having some trouble getting debug logging to work. I have run: - ./configure --enable-debug --enable-debug-guards --enable-debug-printfs - make clean - make I then run the backend that I am testing using the following command: - CUPS_DEBUG_FILTER=".*" CUPS_DEBUG_LOG="-" CUPS_LOG_LEVEL=9 ./ipp However, when running this backend the outputs from all of the "DEBUG_printf" macros in the execution path do not seem to be displayed. How can I get these macros to display? I am having some trouble trying to debug my changes right now since I am flying blind without any debugging information. I should not that I have tried a number of different values for the CUPS_DEBUG_LOG and CUPS_LOG_LEVEL environment variables already. Thanks, David