You can set the location using the log_error option.
log_error
###Example:
log_error="C:/server/log/mysql.log"
See also: