Turn on Debugging and Logging

ImageMagickObject is a Windows COM+ interface to ImageMagick. COM+, Visual Basic, and Delphi users should post to this discussion group.
Post Reply
msturgill
Posts: 2
Joined: 2012-07-02T12:46:49-07:00
Authentication code: 13

Turn on Debugging and Logging

Post by msturgill »

Hello,
I am trying to turn on logging and debugging for imageMagick using the com object.

My call:

Code: Select all

output = imageMagick.Convert( "-debug", "all","-size=185x","-background=transparent","-fill=black","-stroke=none","-font=" & descFont,"-pointsize=14","gravity=center","caption:"&couponTitle,descImg)
My log.xml:

Code: Select all

<logmap>
  <log events="All"/>
  <log output="file"/>
  <log filename="c:\magic.log"/>
  <log generations="3"/>
  <log limit="2000"/>
  <log format="%t %r %u %v %d %c[%p]: %m/%f/%l/%d\n  %e"/>
</logmap>
I do not get anything written out to the file. I have also tried to response.write the output from the call with the default log.xml but nothing gets returned. Any ideas what I may be doing wrong?

Thanks!
Post Reply