Logging fixes for tsdsfe.js