replacing log with trace to track down an error.