Do not configure logging if already configured.