1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

improved example configuration of file node

This commit is contained in:
Steffen Vogel 2015-05-19 16:56:08 +02:00
parent 527ccc7b53
commit 489d738b25

View file

@ -72,9 +72,18 @@ nodes = {
},
file_node = {
type = "file",
mode = "w+",
in = "./" # These options specify the path prefix where the the files are stored
out = ""
mode = "w+", # The mode in which files should be opened (see open(2))
# You might want to use "a+" to append to a file
in = "logs/file_input.log", # These options specify the path prefix where the the files are stored
out = "logs/file_output_%F_%T.log" # The output path accepts all format tokens of (see strftime(3))
timestamp = true # Prepend a Unix timestamp in front of every message
# The accuracy of this timestamp depends on the system clock which
# should be synchronized via NTP / PTP!
# The timestamp describes the point of time in which the value is
# written to the file. This does not necessarily have to coincide
# with the time in which the message was received!!!
},
gtfpga_node = {
type = "gtfpga",