a small step on unifying the (error) logging
Merge pull request #297 from martinpovolny/backtrace_log

a small step on unifying the (error) logging