fixes #29: logger for command line app