Added logLevel as a configuration option, added resetEnvVars as a configuration option - removed duplicate logging