[Groonga-commit] droonga/droonga-http-server at 682a584 [master] Suppress warnings from morgan

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Oct 15 11:20:08 JST 2014


Kouhei Sutou	2014-10-15 11:20:08 +0900 (Wed, 15 Oct 2014)

  New Revision: 682a584b7a9374f211a8741a1c82240386938354
  https://github.com/droonga/droonga-http-server/commit/682a584b7a9374f211a8741a1c82240386938354

  Message:
    Suppress warnings from morgan
    
        morgan deprecated morgan(options): use morgan("default", options) instead bin/droonga-http-server:87:19
        morgan deprecated default format: use combined format bin/droonga-http-server:87:19

  Modified files:
    bin/droonga-http-server

  Modified: bin/droonga-http-server (+1 -1)
===================================================================
--- bin/droonga-http-server    2014-10-07 16:30:54 +0900 (f7f14cd)
+++ bin/droonga-http-server    2014-10-15 11:20:08 +0900 (b188260)
@@ -84,7 +84,7 @@ if (options.accessLogFile) {
   var accessLogOptions = {
     stream: accessLogStream
   };
-  application.use(morgan(accessLogOptions));
+  application.use(morgan("combined", accessLogOptions));
 }
 application.use(cookieParser('secret key'));
 application.use(session({
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index