Don't use printStacktrace, use the logger