[Groonga-commit] droonga/droonga-http-server at eb64d5b [master] Output info log with signal names

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Apr 9 16:16:28 JST 2015


YUKI Hiroshi	2015-04-09 16:16:28 +0900 (Thu, 09 Apr 2015)

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

  Message:
    Output info log with signal names

  Modified files:
    bin/droonga-http-server

  Modified: bin/droonga-http-server (+2 -0)
===================================================================
--- bin/droonga-http-server    2015-04-02 19:36:22 +0900 (213a4d3)
+++ bin/droonga-http-server    2015-04-09 16:16:28 +0900 (a0e3aac)
@@ -171,9 +171,11 @@ function shutdown(error) {
 }
 
 process.on('SIGINT', function() {
+  logger.info('Received a SIGINT signal. Shutting down the server...');
   shutdown();
 });
 
 process.on('SIGTERM', function() {
+  logger.info('Received a SIGTERM signal. Shutting down the server...');
   shutdown();
 });
-------------- next part --------------
HTML����������������������������...
Download 



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