Skip to content

Commit

Permalink
syslog : replace null char by � (#515)
Browse files Browse the repository at this point in the history
* syslog : replace null char by �
* Update README.md
  • Loading branch information
dmachard authored Dec 16, 2023
1 parent 3d9564d commit e1a0702
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

[![Go Report Card](https://goreportcard.com/badge/github.com/dmachard/go-dns-collector)](https://goreportcard.com/report/dmachard/go-dns-collector)
![Go version](https://img.shields.io/badge/go%20version-min%201.20-blue)
![Go tests](https://img.shields.io/badge/go%20tests-348-green)
![Go lines](https://img.shields.io/badge/go%20lines-49469-red)
![Go tests](https://img.shields.io/badge/go%20tests-359-green)
![Go lines](https://img.shields.io/badge/go%20lines-49536-red)
![Go Tests](https://github.com/dmachard/go-dns-collector/actions/workflows/testing-go.yml/badge.svg)
![Github Actions](https://github.com/dmachard/go-dns-collector/actions/workflows/testing-dnstap.yml/badge.svg)
![Github Actions PDNS](https://github.com/dmachard/go-dns-collector/actions/workflows/testing-powerdns.yml/badge.svg)
Expand Down
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 e1a0702

Please sign in to comment.