Implement accessLog handler

This commit is contained in:
Harshavardhana
2015-10-19 12:15:19 -07:00
parent e9d5ec3d64
commit b9ea18b8b8
5 changed files with 140 additions and 6 deletions

View File

@@ -289,6 +289,7 @@ func serverMain(c *cli.Context) {
tls := (certFile != "" && keyFile != "")
apiServerConfig := serverConfig{
Address: c.GlobalString("address"),
AccessLog: c.GlobalBool("enable-accesslog"),
Anonymous: c.GlobalBool("anonymous"),
Path: path,
MinFreeDisk: minFreeDisk,