Bug #47951 Create .out log file on Windows
Submitted: 9 Oct 2009 16:34
Reporter: Todd Farmer (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S4 (Feature request)
Version:mysql-5.1-telco-7.0 OS:Windows (XP)
Assigned to: CPU Architecture:Any
Tags: 7.0.7

[9 Oct 2009 16:34] Todd Farmer
Description:
When starting ndbd from the command line on Windows, the information which normally goes to .out files on Linux gets pushed to the cmd window:

D:\mysql-cluster-gpl-7.0.7-win32>bin\ndbd
2009-10-09 08:39:09 [ndbd] INFO     -- Configuration fetched from 'localhost:118
6', generation: 1
2009-10-09 08:39:09 [ndbd] INFO     -- Ndb started
NDBMT: non-mt
2009-10-09 08:39:09 [ndbd] INFO     -- NDB Cluster -- DB node 2
2009-10-09 08:39:09 [ndbd] INFO     -- mysql-5.1.35 ndb-7.0.7 --
2009-10-09 08:39:09 [ndbd] INFO     -- Ndbd_mem_manager::init(1) min: 84Mb initi
al: 104Mb
Adding 104Mb to ZONE_LO (1,3327)
2009-10-09 08:39:09 [ndbd] INFO     -- Start initiated (mysql-5.1.35 ndb-7.0.7)
WOPool::init(61, 9)
RWPool::init(22, 13)
WARNING: timerHandlingLab now: 12899576350084 sent: 12899576349974 diff: 110
RWPool::init(42, 18)
RWPool::init(62, 13)
Using 1 fragments per node
RWPool::init(c2, 18)
RWPool::init(e2, 14)
WOPool::init(41, 8)
RWPool::init(82, 12)
RWPool::init(a2, 52)
WOPool::init(21, 5)
WARNING: timerHandlingLab now: 12899576350146 sent: 12899576350084 diff: 62

This should be directed to a .out file, as it is on Linux.

How to repeat:
Start ndbd.exe from cmd window.

Suggested fix:
Redirect logging to appropriate .out file.