Formatting needs indention.
Why a case statement?
Logging message isn't all that helpful.