consolidate logging