How can log the behavior of IM?

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
super_chao
Posts: 1
Joined: 2011-08-08T23:31:10-07:00
Authentication code: 8675308

How can log the behavior of IM?

Post by super_chao »

I am developing a image optimization project with ImageMagick, but met some segment fault and assert errors. So I want to log the behaivor of IM. How can I do this ? There is a file named log.c and log.h, what should be configured for the log ?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: How can log the behavior of IM?

Post by magick »

Add -debug all to your ImageMagick command line to generate a log. You can modify the log parameters in the log.xml configuration file.
Post Reply