mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-03 15:27:57 +08:00
go-ipfs-config: Merge pull request #1959 from ipfs/remove-log-config
repo: remove Log config
This commit is contained in:
commit
7c4736abac
@ -30,7 +30,6 @@ type Config struct {
|
||||
SupernodeRouting SupernodeClientConfig // local node's routing servers (if SupernodeRouting enabled)
|
||||
API API // local node's API settings
|
||||
Swarm SwarmConfig
|
||||
Log Log
|
||||
}
|
||||
|
||||
const (
|
||||
|
||||
@ -53,10 +53,6 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) {
|
||||
Enabled: true,
|
||||
Interval: 10,
|
||||
}},
|
||||
Log: Log{
|
||||
MaxSizeMB: 250,
|
||||
MaxBackups: 1,
|
||||
},
|
||||
|
||||
// setup the node mount points.
|
||||
Mounts: Mounts{
|
||||
|
||||
@ -1,7 +0,0 @@
|
||||
package config
|
||||
|
||||
type Log struct {
|
||||
MaxSizeMB int
|
||||
MaxBackups int
|
||||
MaxAgeDays int
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
package config
|
||||
Loading…
Reference in New Issue
Block a user