add base debug info into log