Ignore the deprecation warning and fix the exception log path building