Project

General

Profile

« Previous | Next » 

Revision d77d2c4a

Added by Nathan Scott about 13 years ago

  • ID d77d2c4a397f35086209410af09bedc3d8544640

Implement logger PMDA line-oriented event mode.

Change pmdalogger to generate individual events records
for each new line in the log file, instead of the current
read(2)-sized chunks. This paves the way for application
of per-client regular expressions for event filtering.

This is loosely based on the similar code in the Perl PMDA
wrapper module.

Also here, turns out the pipe inode mtime is not updated
on every write ... so we only skip (non-blocking) reads on
inodes we know to be regular files, else we miss updates.

  • added
  • modified
  • copied
  • renamed
  • deleted