Make trace and debug to use new concurrent log routines.