Fixes to Textlog logger