diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-25 00:02:37 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-25 00:02:37 +0800 |
commit | 8909935a1049dea3783021f0460118ad838b1dfd (patch) | |
tree | 00d23ec41174cda54d5bf2de1175a9d635b75f9a /serve.go | |
parent | 62b05c1e228f1a570a97e6957c45e018262f812f (diff) | |
parent | 6302f5462890b455cb306fc3925c71850a6e1dfb (diff) |
Merge branch 'master' of https://github.com/gogits/gogs
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 { |