Usage: /usr/lib/erlang/bin/run_erl (pipe_name|pipe_dir/) log_dir "command [parameters ...]" You may also set the environment variables RUN_ERL_LOG_GENERATIONS and RUN_ERL_LOG_MAXSIZE to the number of log files to use and the size of the log file when to switch to the next log file