aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/puppeth/module_ethstats.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/puppeth/module_ethstats.go')
-rw-r--r--cmd/puppeth/module_ethstats.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/puppeth/module_ethstats.go b/cmd/puppeth/module_ethstats.go
index 571df1454..da34acb3b 100644
--- a/cmd/puppeth/module_ethstats.go
+++ b/cmd/puppeth/module_ethstats.go
@@ -60,6 +60,11 @@ services:
environment:
- WS_SECRET={{.Secret}}{{if .VHost}}
- VIRTUAL_HOST={{.VHost}}{{end}}
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "1m"
+ max-file: "10"
restart: always
`