When using ANSI color codes, the correct thing to do is check if the output device is a tty? because stdout is often redirected to a file. For example:
logger = Logger.new(STDOUT)
logger.use_ansi = STDOUT.tty?
When I enable command logging through Paperclip, syslog fills up with this:
Oct 15 20:26:49 dt3 sidekiq: #033[32mCommand#033[0m :: file -b --mime :file
Quite right! I just pushed a fix in f986c81. Thanks for the report!