Reduce code duplication for chanlogs