change to debuglog