Thursday, July 10, 2008

logging to a file in production merb

This comes up often in #merb. You can use several flags to customize things nicely:

merb -e production -l debug -d

This sets merb to run in the production environment, to use a log level of debug (use merb --help to see the others), and -d to daemonize and not log things to the console window.

No comments: