diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-24 11:58:46 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-24 11:58:46 -0400 |
commit | 6337d3bf193491aeb9f6a03b260e7c7089c59f76 (patch) | |
tree | b3ed0d0dce9dca3b0e0da5bb406926c7ac334902 /serve.go | |
parent | 414ebe75534e3ae6884b0e2e0c0ea7648a79b725 (diff) | |
download | gitea-6337d3bf193491aeb9f6a03b260e7c7089c59f76.tar.gz gitea-6337d3bf193491aeb9f6a03b260e7c7089c59f76.zip |
Show dashbard
Diffstat (limited to 'serve.go')
-rw-r--r-- | serve.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,6 +45,7 @@ gogs serv provide access auth for repositories`, } func init() { + os.MkdirAll("log", os.ModePerm) log.NewLogger(10000, "file", fmt.Sprintf(`{"filename":"%s"}`, "log/serv.log")) } @@ -72,7 +73,6 @@ func runServ(k *cli.Context) { base.NewConfigContext() models.LoadModelsConfig() models.NewEngine() - base.NewLogService() keys := strings.Split(os.Args[2], "-") if len(keys) != 2 { |