fix problem with loggin the configfilename