Bug #99927 Syslog functionality

Submitted: 18 Jun 2020 8:41 Modified: 3 Mar 2021 18:01
Reporter: Daniël van Eeden Email Updates:
Status: Closed Impact on me:
None 
Category:Shell General / Core Client Severity:S4 (Feature request)
Version:8.0 OS:Any
Assigned to: CPU Architecture:Any
Tags: compatibility, syslog

[18 Jun 2020 8:41] Daniël van Eeden
Description:
The "mysql" client has a "--syslog" option. I would like to be able to migrate to MySQL Shell without losing this functionality.

https://dev.mysql.com/doc/refman/5.7/en/mysql-logging.html

How to repeat:
Try to migrate from "mysql" to "mysqlsh" while using the syslog feature on the former.

Suggested fix:
Add syslog support
[19 Jun 2020 7:38] MySQL Verification Team
Hello Daniël,

Thank you for the reasonable feature request!

regards,
Umesh
[3 Mar 2021 18:01] Margaret Fisher
Posted by developer:
 
Added to MySQL Shell 8.0.24 with WL #14358. Changelog entry for WL:

From MySQL 8.0.24, SQL statements that you issue in MySQL Shell’s SQL mode can be sent to the operating system’s system logging facility (syslog on Unix, or the Windows Event Log). You can select this option by specifying the --syslog command-line option when starting MySQL Shell, or by setting the history.sql.syslog MySQL Shell configuration option. SQL statements that would be excluded from the MySQL Shell code history are also excluded from the system logging facility.
[25 Jun 2021 11:28] Simon Mudd
related: bug#104112

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

Page generated in 0.054 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.