Attempt to add thread safe logging within the application code (i.e. that running in the callback context from the routing engine)