add backtrace, logtype