logging to file not working

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
deepakdeore2004
Posts: 2
Joined: 2013-08-02T04:26:26-07:00
Authentication code: 6789

logging to file not working

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: logging to file not working

Post 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.
deepakdeore2004
Posts: 2
Joined: 2013-08-02T04:26:26-07:00
Authentication code: 6789

Re: logging to file not working

Post by deepakdeore2004 »

Is the patch available ?
Also could you please inform how to patch on Ubuntu 12.04 ?
Post Reply