Error log on linux?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
codeswitch
Posts: 15
Joined: 2009-09-07T09:33:45-07:00
Authentication code: 8675309

Error log on linux?

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

Re: Error log on linux?

Post 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.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Error log on linux?

Post by snibgo »

Constructs like

Code: Select all

convert bad.junk out.png 2>error.log
may also be useful
snibgo's IM pages: im.snibgo.com
codeswitch
Posts: 15
Joined: 2009-09-07T09:33:45-07:00
Authentication code: 8675309

Re: Error log on linux?

Post by codeswitch »

Thank you snibgo, putting "2>error.log" at the end is exactly what I needed!
Post Reply