Logger Debug overwrites the existing file.
Debug logger is called when creating the xp engine.