Fix for better log  messages on android devices.