Normally mysqld writes messages to stdout or stderr.
If we want to log these - mysqld just does freopen(stdout ...).
That's no good for an embedded server where the client often has
his own plans for stderr and stdout :)
Copyright (c) 2000, 2013, Oracle Corporation and/or its affiliates. All rights reserved.