Where Is The Debug Output??

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Alasdair

Where Is The Debug Output??

Post by Alasdair »

OK... I know this is probably a silly question, but where does the output for "-debug" go to?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Where Is The Debug Output??

Post by magick »

The output is dictated by the log.xml configuration file. By default it should go to stderr:
  • -> convert -debug configure logo: null:
    2009-06-06T11:01:42-04:00 0:00 0.000u 6.5.3 Configure convert[20804]: configure.c/GetConfigureOptions/528/Configure
    Searching for configure file: "/usr/local/share/ImageMagick-6.5.3/config/coder.xml"
    2009-06-06T11:01:42-04:00 0:00 0.000u 6.5.3 Configure convert[20804]: configure.c/GetConfigureOptions/528/Configure
    Searching for configure file: "/usr/local/lib/ImageMagick-6.5.3/config/coder.xml"
    2009-06-06T11:01:42-04:00 0:00 0.000u 6.5.3 Configure convert[20804]: configure.c/GetConfigureOptions/528/Configure
    Searching for configure file: "/usr/local/share/doc/ImageMagick-6.5.3/coder.xml"
    ...
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Where Is The Debug Output??

Post by anthony »

It does to stderr, which is good as it means it does not effect 'pipelines' of commands.

Get the calls to the image.c library module...
convert -debug trace present.c null: 2>&1 | grep image.c
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply