Bugfix and log settings

Fixing bug in failure notifications and in log settings file.