-
Notifications
You must be signed in to change notification settings - Fork 183
file
Fabian Affolter edited this page Apr 23, 2014
·
2 revisions
The file
service can be used for logging incoming topics, archiving, etc. Each message is written to a path specified in the targets list. Note that files are opened for appending and then closed on each notification.
Supposing we wish to archive all incoming messages to the branch arch/#
to a file /data/arch
, we could configure the following:
[config:file]
append_newline = True
targets = {
'log-me' : ['/data/arch']
}