If it's there for debugging purposes maybe we should do "if log level is not trace, deleteonexit"