audit/syslog: switch defaults
This commit is contained in:
parent
1403fb987b
commit
f01e14351a
|
@ -24,8 +24,7 @@ func Factory(conf map[string]string) (audit.Backend, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if raw logging is enabled
|
// Check if raw logging is enabled
|
||||||
// TODO: Default this to false once copystructure/hashing is fixed
|
logRaw := false
|
||||||
logRaw := true
|
|
||||||
if raw, ok := conf["log_raw"]; ok {
|
if raw, ok := conf["log_raw"]; ok {
|
||||||
b, err := strconv.ParseBool(raw)
|
b, err := strconv.ParseBool(raw)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue