Fix logger setup

Configures root logger to avoid duplicate log messages.