could we switch these to logging and use workflow DEBUG logging?