i overheard client wants logging, added some steps to outputting a trace