mirror of
https://git.sr.ht/~phw/scotty
synced 2025-06-05 04:58:33 +02:00
Extend dump backend to be able to write to a file
This commit is contained in:
parent
975e208254
commit
d250952678
2 changed files with 74 additions and 9 deletions
|
@ -141,4 +141,10 @@ client-secret = ""
|
|||
[service.dump]
|
||||
# This backend allows writing listens and loves as console output. Useful for
|
||||
# debugging the export from other services.
|
||||
backend = "dump"
|
||||
backend = "dump"
|
||||
# Path to a file where the listens and loves are written to. If not set,
|
||||
# the output is written to stdout.
|
||||
file-path = ""
|
||||
# If true (default), new listens will be appended to the existing file. Set to
|
||||
# false to overwrite the file on every run.
|
||||
append = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue