add opline logging and setup including command line option