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

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.