Page 1 of 1

logging to file not working

Posted: 2013-08-02T04:34:13-07:00
by deepakdeore2004
imagemagick-common version: 8:6.6.9.7-5ubuntu3.2

I have made the below settings in log.xml.

<logmap>
<log events="All"/>
<log output="file"/>
<log filename="/path/to/log/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>

after making these changes i ran below command but the logs are not generating to a file.

time convert -alpha off -density 300x300 -adaptive-resize 1000 -depth 8 test.pdf test.png

If "-debug all" is added into command then logs are coming to stdout but i want the logs in a file which is not working.

Re: logging to file not working

Posted: 2013-08-02T04:54:15-07:00
by magick
We can reproduce the problem you posted and have a patch in ImageMagick 6.8.6-8 Beta available by sometime tomorrow. Thanks.

Re: logging to file not working

Posted: 2013-08-05T01:36:49-07:00
by deepakdeore2004
Is the patch available ?
Also could you please inform how to patch on Ubuntu 12.04 ?