Added logging with SLF4J.

Signed-off-by: cocolekat <cocolekat@gmail.com>