reducing logging size