Fix error when requirejs build not inlude loader.
Restore to the origin logger.