This document will explain how you can use Splitlog to combine various log files into one.
When you have two and more Followers, you can merge them into one and treat them like a single unit. This is especially handy when these followers come from different LogWatch instances and therefore are receiving Messages from different log files. However, nothing prevents you from merging followers on the same LogWatch.
Merging followers are the aggregation of their respective followers, with the following characteristics:
Merging followers are a summation of their respective merged followers. Nothing more should be expected of them.
It’s as easy as this:
Follower follower1 = ...; Follower follower2 = ...; MergingFollower merge = follower2.mergeWith(follower1); // the order has no effect
And you can also merge MergingFollowers:
Follower follower1 = ...; MergingFollower follower2 = ...; MergingFollower merge = follower1.mergeWith(follower2); MergingFollower follower3 = ...; MergingFollower merge2 = merge.mergeWith(follower3);
Think you spotted a mistake in this document? A typo? Factual inaccuracy? Make an edit. Think of the legions of grateful users!