Is anyone using the server resource called Multi Log Tracker 1.0? I am trying to look for errors in Informatica logs and there are MANY logs in one folder. I thought this would be the answer. My problem is making a Java Regular Expression. I need it for the "includepattern" value, it is a required field. Has anyone done this? Is anyone good with Java expressions? I don't understand them.
Thanks,
Rodd
The Multi Log Tracker 1.0 plugin monitors and tails several log files using the Apache ant Directory Scanner
The link above to Java expressions is an active link and the info there is a foreign language to me. The "concrete" example below looks much simpler. I'll see if I can get something like that to work, but if anyone with experience with this would like to chime in, please do!! Thanks.
**\*.class - matches all .class files/dirs in a directory tree.
test\a??.java - matches all files/dirs which start with an 'a', then two more characters and then ".java", in a directory called test.
** - matches everything in a directory tree.
**\test\**\XYZ* - matches all files/dirs which start with "XYZ" and where there is a parent directory called test (e.g. "abc\test\def\ghi\XYZ123").
Matches any file in any subdirectory of /var/log that match the name messages* or *log
basedir=/var/log
logfilepattern=**/messsages*,**/*log
includepattern=error|warn|too many threads running
Files which match this combination of options:
/var/log/messages
/var/log/cron.log
/var/log/yum.log