only create a new debuglogger when it is null
added file name to debug output