stack_info is only available in python3.2 logging API