Page 1 of 1
Error log on linux?
Posted: 2010-02-22T12:07:00-07:00
by codeswitch
I'm using several functions of ImageMagick on my Linux-Server (shared hoster). Is there something like an error log, so that I can look after problems?
If not, can I maybe debug a command by passing a certain statement or something?
Re: Error log on linux?
Posted: 2010-02-22T12:30:10-07:00
by magick
You can add debugging to the ImageMagick command line the -log and -debug options. See
http://www.imagemagick.org/script/comma ... ns.php#log and
http://www.imagemagick.org/script/comma ... .php#debug. You can send the debugging output to a file. See log.xml.
Re: Error log on linux?
Posted: 2010-02-22T15:48:36-07:00
by snibgo
Constructs like
Code: Select all
convert bad.junk out.png 2>error.log
may also be useful
Re: Error log on linux?
Posted: 2010-02-23T04:42:58-07:00
by codeswitch
Thank you snibgo, putting "2>error.log" at the end is exactly what I needed!