Enable produce DEBUG_LOG rather tha INFO_LOG without install Visual studio express in windows

Default is INFO_LOG
More people can post DEBUG_LOG.
Set default DEBUG when produce a debug build
Merge pull request #5479 from sum2012/log

Enable produce DEBUG_LOG rather than INFO_LOG in Windows who don't need install Visual Studio Express