logging to file not working
Posted: 2013-08-02T04:34:13-07:00
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.
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.