inotify log file broadcaster

This commit is contained in:
Michael Davidsaver
2013-12-08 21:41:20 -05:00
parent 0a12b0651d
commit eb94e3c6c1
9 changed files with 647 additions and 0 deletions

22
logApp/Db/Makefile Normal file
View File

@@ -0,0 +1,22 @@
TOP=../..
include $(TOP)/configure/CONFIG
#----------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
#----------------------------------------------------
# Optimization of db files using dbst (DEFAULT: NO)
#DB_OPT = YES
#----------------------------------------------------
# Create and install (or just install) into <top>/db
# databases, templates, substitutions like this
DB += logwatch.db
#----------------------------------------------------
# If <anyname>.db template is not named <anyname>*.template add
# <anyname>_template = <templatename>
include $(TOP)/configure/RULES
#----------------------------------------
# ADD RULES AFTER THIS LINE

9
logApp/Db/logwatch.db Normal file
View File

@@ -0,0 +1,9 @@
record(waveform, "$(N)") {
field(DTYP, "Python Device")
field(INP , "@logwatch $(FNAME)")
field(SCAN, "I/O Intr")
field(FTVL, "CHAR")
field(NELM, "$(NELM=200)")
info("logfilter","$(FILTER=)")
}