From: Dyre Tjeldvoll Date: September 20 2012 8:34am Subject: bzr push into mysql-5.5-cluster-7.2 branch (Dyre.Tjeldvoll:4065 to 4066) List-Archive: http://lists.mysql.com/commits/144825 Message-Id: <20120920083410.26546.12221.4066@khepri17.no.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 4066 Dyre Tjeldvoll 2012-09-20 Use tempfile.gettempdir as the log destination modified: storage/ndb/mcc/request_handler.py 4065 bernd.ocklin@stripped 2012-09-20 clusterj win32 test debug build code modified: storage/ndb/clusterj/clusterj-api/CMakeLists.txt === modified file 'storage/ndb/mcc/request_handler.py' === modified file 'storage/ndb/mcc/request_handler.py' --- a/storage/ndb/mcc/request_handler.py 2012-09-14 10:43:58 +0000 +++ b/storage/ndb/mcc/request_handler.py 2012-09-20 08:33:37 +0000 @@ -28,6 +28,7 @@ import optparse import webbrowser import zipfile +import tempfile import util from clusterhost import produce_ABClusterHost @@ -376,7 +377,7 @@ help='Python logging module debug level (DEBUG, INFO, WARNING, ERROR or CRITICAL). [default: %default]') cmdln_parser.add_option('-o', '--server-log-file', action='store', type='string', - default='ndb_setup-'+str(os.getpid())+'.log', + default=os.path.join(tempfile.gettempdir(),'ndb_setup-'+str(os.getpid())+'.log'), help='log requests to this file. The value - means log to stderr: [default: %default]') # option for level/logcfg file No bundle (reason: useless for push emails).