Logfile / Pipe Input Module [logfile_in]

Descriptions

Monitors a file or a pipe for new data and returns lines based on a reglar expression match.

Configuration Tokens

logfile: Path to file
pipe: set to '1' if reading from a named pipe.
reopen_pipe: set to '1' if pipe should be reopened after a process disconnects from it.
sleeptime: Block time for reads
regexp: Return only lines matching this regular expression.
tailstyle: Specifies when to start reading the file.
* '0' for end of file.
* 'n' for n number of lines before the end.
*  Negative number to read the whole file.
debugmode: Debug Level
debugmessages: Path to file to log debug messages

Generated Tokens

line: The entire matched line.

Return to Module Reference


PHP Warnings

lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference

lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference

lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference

lib/Template.php:106: Notice[8]: Only variables should be assigned by reference

lib/Template.php:107: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'htmldump'?):106: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'htmldump'?):107: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'body'?)(In template 'htmldump'?):106: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'body'?)(In template 'htmldump'?):107: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'body'?)(In template 'htmldump'?):106: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'body'?)(In template 'htmldump'?):107: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'body'?)(In template 'htmldump'?):106: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'body'?)(In template 'htmldump'?):107: Notice[8]: Only variables should be assigned by reference