added logLevel cmd line option