diff --git a/config/config.go b/config/config.go index e912429cd..f214b513b 100644 --- a/config/config.go +++ b/config/config.go @@ -24,6 +24,7 @@ type Config struct { Bootstrap []string // local nodes's bootstrap peer addresses Tour Tour // local node's tour position Gateway Gateway // local node's gateway server options + Log Log } const ( diff --git a/config/log.go b/config/log.go new file mode 100644 index 000000000..50e7243d4 --- /dev/null +++ b/config/log.go @@ -0,0 +1,8 @@ +package config + + +type Log struct { + MaxSizeMB uint64 + MaxBackups uint64 + MaxAgeDays uint64 +}