Fix dependencies for logging