Setting logger to WARN