Commit 3a2ac8f0 authored by Juan Benet's avatar Juan Benet

Merge pull request #1959 from ipfs/remove-log-config

repo: remove Log config
parents 9a6cb805 25316389
...@@ -30,7 +30,6 @@ type Config struct { ...@@ -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) { ...@@ -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{
......
package config
type Log struct {
MaxSizeMB int
MaxBackups int
MaxAgeDays int
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment