inotify log file broadcaster
This commit is contained in:
22
logApp/Db/Makefile
Normal file
22
logApp/Db/Makefile
Normal 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
9
logApp/Db/logwatch.db
Normal 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=)")
|
||||
}
|
||||
Reference in New Issue
Block a user