* Updated debug messages to use LogWarn().