Issue #137: Adding commign line parameters to global config so that logging is configurable
Adding unit tests for logging options
Fixing working issues