Bug #34485 CONSOLE is not recognized properly for LogDestination configuration option.
Submitted: 12 Feb 2008 10:01 Modified: 12 Feb 2008 18:49
Reporter: Tobias Asplund Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:mysql-5.1 OS:MacOS
Assigned to: CPU Architecture:Any
Tags: 5.1.22

[12 Feb 2008 10:01] Tobias Asplund
Description:
Seems like CONSOLE isn't valid for LogDestination, since it's a one-word option.

How to repeat:
I used this config (although, just adding LogDestination=CONSOLE should work to any otherwise working config)

========
[NDB_MGMD]
HostName = 127.0.0.1
DataDir  = /usr/local/ndb
LogDestination=CONSOLE

[NDBD DEFAULT]
HostName = 127.0.0.1
DataDir  = /usr/local/ndb
NoOfReplicas = 2

[NDBD]

[NDBD]

[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
========

Nothing logs anywhere, but if I check the out-log on the mgmd I get this:

Warning: could not add log destination "CONSOLE". Reason: Can't find key=value pair.
[12 Feb 2008 18:49] Susanne Ebrecht
Many thanks for writing a bug report.

Please try the workaround: /dev/tty