added command line switch for config file
use different formatter for console messages