DEV: Add support for logging tracebacks from interactiveshellapp