Skip to content

Commit

Permalink
syslog : replace null char by �
Browse files Browse the repository at this point in the history
  • Loading branch information
dmachard committed Dec 16, 2023
1 parent 3d9564d commit 031292e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ multiplexer:
# # Syslog tag or MSGID
# tag: ""
# # Replace NULl char in Qname with the specified character
# replace-null-char: |
# replace-null-char:
# # how many DNS messages will be buffered before being sent
# buffer-size: 100
# # interval in second before to flush the buffer
Expand Down
2 changes: 1 addition & 1 deletion docs/loggers/logger_syslog.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ syslog:
hostname: ""
app-name: ""
tag: ""
replace-null-char: "|"
replace-null-char: ""
flush-interval: 30
buffer-size: 100
```
2 changes: 1 addition & 1 deletion pkgconfig/loggers.go
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ func (c *ConfigLoggers) SetDefault() {
c.Syslog.Formatter = "rfc5424"
c.Syslog.Hostname = ""
c.Syslog.AppName = "DNScollector"
c.Syslog.ReplaceNullChar = "|"
c.Syslog.ReplaceNullChar = ""
c.Syslog.FlushInterval = 30
c.Syslog.BufferSize = 100

Expand Down

0 comments on commit 031292e

Please sign in to comment.