fixed log traces
removed unnecessary called to persist() on managed entities
added more debugging info