logging verbessert