Log analyzer for log4j logs.
-D: date filtering-T: time filtering-S: severity filtering-M: error messaga filtering
-Mhas to be the last option, it can contain white spaces- The order and the multiplicity of
-D,-T,-Sare irrelevant. The last one will be chosen.
logan.sh -D2012-12-08: it seeks all loglines with this match in date columnlogan.sh -D2012-12-* -SSEVERE: it seeks all lines in all days inDec.2012.withSEVERElevellogan.sh -D2012-12-* -D2012-12-08: it takes all lines matching on08.Dec.2012logan.sh -T12:*:* -D2012-12-*: it takes all lines matching onDec.2012between noon and 1PMlogan.sh -MError message comes here: it seeks all lines matching on"Error message comes here"logan.sh -MError msg -D2012-12-12: it seeks"Error msg -D2012-12-12"