mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 12:25:53 +02:00
only set logfile dir if media is file (#615)
This commit is contained in:
parent
2888bda959
commit
7f40160f6e
3 changed files with 3 additions and 1 deletions
|
@ -32,6 +32,7 @@ type LocalApiServerCfg struct {
|
|||
TLS *TLSCfg `yaml:"tls"`
|
||||
DbConfig *DatabaseCfg `yaml:"-"`
|
||||
LogDir string `yaml:"-"`
|
||||
LogMedia string `yaml:"-"`
|
||||
OnlineClient *OnlineApiClientCfg `yaml:"online_client"`
|
||||
ProfilesPath string `yaml:"profiles_path,omitempty"`
|
||||
Profiles []*ProfileCfg `yaml:"-"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue