Logging  verbessert