Debug log file

Can you publish these changes in version 0.12.6 ?