Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Platform-Independent Microagents and Methods : COM.TIBCO.hawk.microagent.Logfile : Logfile:onNewLinewithPatternFile

Logfile:onNewLinewithPatternFile
Method
Purpose
This method (on all platforms) applies the patterns from the pattern file to a new line from the log file. It returns the matching severity and pattern from the pattern file and the new line from the log file. The pattern file contains patterns that are used to match relevant log file entries. The pattern file is used as a filter to determine which lines are returned to the subscriber.
The first time this method is invoked, the previousLine field will be blank. On s subsequent invocations, the previousLine field will contain the value of the nextLine field of the previous method invocation.
Type
Asynchronous, IMPACT_INFO.
Arguments
 
For example, ’echo /tmp/foo.log’ will be evaluated to /tmp/foo.log
Returns
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved