fixes #4 Stack traces for warnings and logs