Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
3a2ac8f0
Commit
3a2ac8f0
authored
Nov 16, 2015
by
Juan Benet
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1959 from ipfs/remove-log-config
repo: remove Log config
parents
9a6cb805
25316389
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
13 deletions
+0
-13
repo/config/config.go
repo/config/config.go
+0
-1
repo/config/init.go
repo/config/init.go
+0
-4
repo/config/log.go
repo/config/log.go
+0
-7
repo/config/logs.go
repo/config/logs.go
+0
-1
No files found.
repo/config/config.go
View file @
3a2ac8f0
...
...
@@ -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
(
...
...
repo/config/init.go
View file @
3a2ac8f0
...
...
@@ -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
{
...
...
repo/config/log.go
deleted
100644 → 0
View file @
9a6cb805
package
config
type
Log
struct
{
MaxSizeMB
int
MaxBackups
int
MaxAgeDays
int
}
repo/config/logs.go
deleted
100644 → 0
View file @
9a6cb805
package
config
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment