Configurable log level

Added new LogLevel app setting to limit the amount of logging to
EventLog (0 = no logging, 1 = Error only, 2 = Warn+Error, 3 =
Info+Warn+Error)