cut too long messages into pieces in log collector