Adjusted for new dbgl logfile code
Some more adjustments regarding logfiles