implement log level options
implement log_level_in and log_level_out options