[Pvfs2-cvs] commit by mtmoore in pvfs2/src/server: pvfs2-server.c

CVS commit program cvs at parl.clemson.edu
Mon Jun 6 22:39:02 EDT 2011


Update of /projects/cvsroot/pvfs2/src/server
In directory parlweb1:/tmp/cvs-serv7543/src/server

Modified Files:
      Tag: Orange-Branch
	pvfs2-server.c 
Log Message:
 friendly message after log re-opened


Index: pvfs2-server.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/server/pvfs2-server.c,v
diff -p -u -r1.269.4.10 -r1.269.4.11
--- pvfs2-server.c	30 May 2011 14:35:43 -0000	1.269.4.10
+++ pvfs2-server.c	7 Jun 2011 02:39:01 -0000	1.269.4.11
@@ -368,7 +368,11 @@ int main(int argc, char **argv)
 
                 /* re-open log file to allow normal rotation */
                 gossip_reopen_file(server_config.logfile, "a");
-
+                gossip_set_debug_mask(1, GOSSIP_SERVER_DEBUG);
+                gossip_debug(GOSSIP_SERVER_DEBUG,
+                             "Re-opened log %s, continuing\n", 
+                             server_config.logfile);
+                gossip_set_debug_mask(1, debug_mask);
                 signal_recvd_flag = 0; /* Reset the flag */
             }
             else



More information about the Pvfs2-cvs mailing list