BugFix: Exception when checking database fixed
BugFix: Logger output fixed