美文网首页
beego默认执行文件流程

beego默认执行文件流程

作者: IN4 | 来源:发表于2018-05-02 10:29 被阅读0次
    --- grace/grace.go:92 init ---
    --- grace/listener.go:64 init
    --- grace/server.go:365 init ---
    
    --- logs/log.go:146 NewLogger ---
    --- logs/log.go:184 setLogger ---
    --- logs/accesslog.go:88 init ---
    --- logs/color.go:33 init
    --- logs/conn.go:116 init ---
    --- logs/log.go:100 Register<adapterName:conn> ---
    --- logs/console.log:100 init ---
    --- logs/log.go:100 Register<adapterName:console> ---
    --- logs/file.log:333 init ---
    --- logs/log.go:100 Register<adapterName:file> ---
    --- logs/jianliao.go:70 init ---
    --- logs/log.go:100 Register<adapterName:jianliao> ---
    --- logs/log.go:648 init ---
    --- logs/logger.php:210 init ---
    --- logs/multifile.go:115 init ---
    --- logs/log.go:100 Register<adapterName:multifile> ---
    --- logs/slack.go:58 init ---
    --- logs/log.go:100 Register<adapterName:slack> ---
    --- logs/smtp.go:147 init ---
    --- logs/log.go:100 Register<adapterName:smtp> ---
    
    
    --- toolbox/healthcheck.go:48 init ---
    --- toolbox/profile.go:34 init ---
    --- toolbox/statistics.go:146 init ---
    --- toolbox/task.go:612 init ---
    
    --- utils/caller.go:28 init ---
    --- utils/debug.go:480 init ---
    --- utils/file.go:104 init ---
    --- utils/mail.go:428 init ---
    --- utils/rand.go:47 init ---
    --- utils/safemap.go:94 init ---
    --- utils/slice.go:173 init ---
    --- utils/utils.go:33 init ---
    
    --- config/config.go:244 init ---
    --- config/fake.go:137 init ---
    --- config/ini.go:481 init ---
    --- config/config.go:81 Register<adapter:ini> ---
    --- config/json.go:264 init ---
    --- config/config.go:81 Register<adapter:json> ---
    
    
    --- session.go:357 NewSessionLog ---
    --- session/sess_cookie.go:177 init ---
    --- session/session.go:74 Register<adapter:cookie> ---
    --- session/sess_file.go:299 init ---
    --- session/session.go:74 Register<adapter:file> ---
    --- session/sess_mem.go:195 init ---
    --- session/session.go:74 Register<adapter:memory> ---
    --- session/session.go:364 init ---
    
    --- context/acceptencoder.go:235 init ---
    --- context/context.go:250 init ---
    --- context/input.go:666 init ---
    --- context/output.go:365 init ---
    --- context/renderer.go:16 init ---
    --- context/response.go:29 init ---
    
    --- context/param/conv.go:80 init ---
    --- context/param/methodparams.go:71 init ---
    --- context/param/options.go:39 init ---
    --- context/param/parsers.go:152 init ---
    
    --- ad.go:29 init ---
    --- admin.go:55 init ---
    --- admin.go:377 Route<pattern:/> ---
    --- admin.go:377 Route<pattern:/qps> ---
    --- admin.go:377 Route<pattern:/prof> ---
    --- admin.go:377 Route<pattern:/healthcheck> ---
    --- admin.go:377 Route<pattern:/task> ---
    --- admin.go:377 Route<pattern:/listconf> ---
    --- adminui.go:358 init ---
    --- app.go:40 init ---
    --- app.go:53 NewApp ---
    --- router.go:135 NewControllerRegister ---
    --- config.go:130 init ---
    --- config.go:190 newBConfig ---
    // appConfigPath: <GOPATH>/web/conf/app.conf not found!
    --- contoller.go:663 init ---
    --- error.go:485 init ---
    --- filter.go:46 init ---
    --- flash.go:112 init ---
    --- hooks.go:108 init ---
    --- log.go:114 init ---
    --- mime.go:558 init ---
    --- namespace.go:398 init ---
    --- parser.go:59 init ---
    --- policy.go:99 init ---
    --- router.go:996 init ---
    --- staticfile.go:206 init ---
    --- template.go:78 init ---
    --- templatefunc.go:779 init ---
    --- tree.go:587 init ---
    
    --- beego.go:54 Run ---
    --- beego.go:85 initBeforeHTTPRun ---
    --- hooks.go:15 registerMime ---
    --- hooks.go:25 registerDefaultErrorHandler ---
    --- error.go:383 ErrorHandler<code:405> ---
    --- error.go:383 ErrorHandler<code:502> ---
    --- error.go:383 ErrorHandler<code:503> ---
    --- error.go:383 ErrorHandler<code:417> ---
    --- error.go:383 ErrorHandler<code:504> ---
    --- error.go:383 ErrorHandler<code:422> ---
    --- error.go:383 ErrorHandler<code:401> ---
    --- error.go:383 ErrorHandler<code:402> ---
    --- error.go:383 ErrorHandler<code:403> ---
    --- error.go:383 ErrorHandler<code:404> ---
    --- error.go:383 ErrorHandler<code:500> ---
    --- error.go:383 ErrorHandler<code:501> ---
    --- app.go:64 Run ---
    --- logs/log.go:514 GetLogger ---
    --- logs/log.go:266 writeMsg ---
    // beeLogger.init:  false
    --- logs/log.go:184 setLogger ---
    // beeLogger.enableFuncCallDepth:  false
    // beeLogger.asynchronous:  false
    --- logs/log.go:239 writeToLogger ---
    --- logs/console.go:79 WriteMsg ---
    --- logs/logger.go:34 println ---
    2018/05/02 10:26:23.108 [I] http server Running on http://:8081
    // adapter: console
    --- router.go:657 ServeHTTP ---
    --- context/context.go:42 NewContext
    --- context.go:61 Reset ---
    --- context.go:199 reset ---
    --- input.go:67 Reset ---
    --- output.go:49 Reset ---
    --- staticfile.go:36 serverStaticRouter ---
    // error: request not a static file request!
    --- router.go:973 FindRouter ---
    // routers:  map[]
    // router not find!
    --- error.go:422 exception ---
    // errCode:  404
    --- error.go:449 executeError ---
    // errorType:  0
    --- error.go:281 notFound ---
    --- error.go:368 responseError ---
    --- router.go:884 (goto)Admin ---
    --- logs/logger.go:154 ColorByStatus ---
    // code:  404
    --- logs/logger.go:177 ColorByMethod ---
    --- logs/logger.go:177 ColorByMethod ---
    // statusColor: , methodColor: , resetColor: 
    --- logs/accesslog.go:65 AccessLog ---
    --- logs/log.go:411 Debug ---
    --- logs/log.go:266 writeMsg ---
    // beeLogger.init:  false
    --- logs/log.go:184 setLogger ---
    // beeLogger.enableFuncCallDepth:  false
    // beeLogger.asynchronous:  false
    --- logs/log.go:239 writeToLogger ---
    --- logs/console.go:79 WriteMsg ---
    --- logs/logger.go:34 println ---
    2018/05/02 10:26:26.193 [D] ::1 - - [02/May/2018 10:26:26] "GET /hello.html HTTP/1.1 404 0" 0.000458  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36
    
    // adapter: console
    // (goto)Admin#end
    --- config.go:159 recoverPanic ---
    // recoverPanic#end
    

    相关文章

      网友评论

          本文标题:beego默认执行文件流程

          本文链接:https://www.haomeiwen.com/subject/ngvqrftx.html