modify logging strategy.