Matt, the variable mysql_embedded makes InnoDB more silent:
heikki@hundin:~/mysql-4.0/sql> grep -n mysql_embedded *.cc ha_innodb.cc:659: if (mysql_embedded) { ha_innodb.cc:768: srv_print_verbose_log = mysql_embedded ? 0 : 1; mysqld.cc:390:bool mysql_embedded=0; mysqld.cc:392:bool mysql_embedded=1; Have you tried redirecting stderr to some file? MySQL writes most of its messages to stderr. I am not sure if any messages come to stdout if mysql_embedded =1. If they come, it is easy to change 4.0.x so that they are either suppressed or directed to stderr. Your own program then has stdout solely for its own use. Regards, Heikki Innobase Oy ----- Original Message ----- From: "Matt Solnit" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Heikki Tuuri" <[EMAIL PROTECTED]> Sent: Monday, January 13, 2003 9:26 PM Subject: Disable log messages for Embedded Server? Is there any way to disable log messages being written to the standard output using Embedded Server? Using mysqld, they are automatically redirected to mysql.err (under Windows, at least), but there seems to be no way to do this in Embedded. We would like to be able to display our own output to the user, but not MySQL's. Ideally we would be able to turn off MySQL output, but at least we would like to be able to redirect it. -- Matt Solnit <[EMAIL PROTECTED]> --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php