CHanged LogUtils to print stack trace on error