Skip to contentSkip to conversation

Cluster Project branch, master, updated. cluster-2.99.06-42-g228cbfc

Cluster-devel [email protected] 1 participant 1 message Jul 22, 2008

lore
Share & tools
lore
#0 lore raw

This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=228cbfc49f5acbd8a0dc514b7385f7d9fd4ae6c5

The branch, master has been updated

       via  228cbfc49f5acbd8a0dc514b7385f7d9fd4ae6c5 (commit)
      from  4c05bff7a76b6909b350b2d4d1ad06f48f968510 (commit)

Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.

- Log ----------------------------------------------------------------- commit 228cbfc49f5acbd8a0dc514b7385f7d9fd4ae6c5

Author: Fabio M. Di Nitto <[email protected]>
Date:   Tue Jul 22 07:10:35 2008 +0200

[FENCE] Fix fence_apc_snmp logging

Move log file together with all the others when invoked in verbose mode.

-----------------------------------------------------------------------

Summary of changes:

 fence/agents/apc_snmp/fence_apc_snmp.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
fence/agents/apc_snmp/fence_apc_snmp.py +2 -2
index 63de054..a2faef4 100644
@@ -215,7 +215,7 @@ def usage():
         print "  -c <community>   SNMP community (default 'private')"
         print "  -n <num>         Outlet name/number to act on"
         print "  -o <string>      Action: Reboot (default), On, Off and Status"
-        print "  -v               Verbose mode - write to /tmp/apclog"
+        print "  -v               Verbose mode - write to @LOGDIR@/fence_apc_snmp.log"
         print "  -V               Version"
 	
         sys.exit(0)
@@ -226,7 +226,7 @@ file_log = None
 def set_logging(verbose):
 	global file_log
 	if verbose:
-		file_log = open('/tmp/apclog', 'a')
+		file_log = open('@LOGDIR@/fence_apc_snmp.log', 'a')
 		file_log.write('\n-----------  ')
 		file_log.write(datetime.datetime.today().ctime())
 		file_log.write('  -----------\n')

hooks/post-receive
--
Cluster Project