Fixed Tlog initalization in debug mode
Module dire is now renamed with the module code