More work on debug log interface