change all printf's to AliDebug/AliInfo/AliWarning