Page 1 of 1
Where Is The Debug Output??
Posted: 2009-06-06T01:02:41-07:00
by Alasdair
OK... I know this is probably a silly question, but where does the output for "-debug" go to?
Re: Where Is The Debug Output??
Posted: 2009-06-06T08:02:07-07:00
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"
...
Re: Where Is The Debug Output??
Posted: 2009-06-06T16:51:06-07:00
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