mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-03 04:37:30 +08:00
repo: remove Log config
We stopped logging to files in a676b5a8ac2848a57318283f4b2b52d7d8686323 and this config section was missed. License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org>
This commit is contained in:
@ -30,7 +30,6 @@ type Config struct {
|
|||||||
SupernodeRouting SupernodeClientConfig // local node's routing servers (if SupernodeRouting enabled)
|
SupernodeRouting SupernodeClientConfig // local node's routing servers (if SupernodeRouting enabled)
|
||||||
API API // local node's API settings
|
API API // local node's API settings
|
||||||
Swarm SwarmConfig
|
Swarm SwarmConfig
|
||||||
Log Log
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -53,10 +53,6 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) {
|
|||||||
Enabled: true,
|
Enabled: true,
|
||||||
Interval: 10,
|
Interval: 10,
|
||||||
}},
|
}},
|
||||||
Log: Log{
|
|
||||||
MaxSizeMB: 250,
|
|
||||||
MaxBackups: 1,
|
|
||||||
},
|
|
||||||
|
|
||||||
// setup the node mount points.
|
// setup the node mount points.
|
||||||
Mounts: Mounts{
|
Mounts: Mounts{
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
package config
|
|
||||||
|
|
||||||
type Log struct {
|
|
||||||
MaxSizeMB int
|
|
||||||
MaxBackups int
|
|
||||||
MaxAgeDays int
|
|
||||||
}
|
|
@ -1 +0,0 @@
|
|||||||
package config
|
|
Reference in New Issue
Block a user