Fixed a potential logging conflict with android platform