How to turn on IM log?

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
chris331335

How to turn on IM log?

Post by chris331335 »

hi,

I am new to ImageMagick. Can anyone tell me how to turn on IM log?

I have changed log.xml as below, but I still can not see the log. Appreciate your help!

<logmap>
<log events="all"/>
<log output="file"/>
<log filename="Magick-%g.log"/>
<log generations="3"/>
<log limit="2000"/>
<log format="%t %r %u %v %d %c[%p]: %m/%f/%l/%d\n %e"/>
</logmap>
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: How to turn on IM log?

Post by magick »

By default, no log is generated. To enable it, add -debug something to your command line. For example, -debug all.
Post Reply