options refactoring
more options for logging