Small fixes

Fix of previous commit,
Logging configuration was fixed,
Wrong written asserts were fixed