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?
Error log on linux?
-
- Posts: 15
- Joined: 2009-09-07T09:33:45-07:00
- Authentication code: 8675309
Re: Error log on linux?
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.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Error log on linux?
Constructs like
may also be useful
Code: Select all
convert bad.junk out.png 2>error.log
snibgo's IM pages: im.snibgo.com
-
- Posts: 15
- Joined: 2009-09-07T09:33:45-07:00
- Authentication code: 8675309
Re: Error log on linux?
Thank you snibgo, putting "2>error.log" at the end is exactly what I needed!