Trimming logging