Fix log level and add stack traces