Bug #69563 Have slow log report the @@hostname

Submitted: 25 Jun 2013 5:31 Modified: 25 Jun 2013 6:22
Reporter: Shlomi Noach (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Logging Severity:S4 (Feature request)
Version: OS:Any
Assigned to: CPU Architecture:Any
Tags: logging, slow log

[25 Jun 2013 5:31] Shlomi Noach
Description:
This is a feature request that the slow query log indicates the @@hostname variable at the slow log header.

Example for desired slow log header:

/home/shlomi/sandboxes/5.5.32/bin/mysqld, Version: 5.5.32-log (MySQL Community Server (GPL)). started with:
Tcp port: 22987  Unix socket: /tmp/mysql_sandbox22987.sock Hostname: mysqlhost01
Time                 Id Command    Argument
# Time: 130624 16:48:43
# User@Host: msandbox[msandbox] @ localhost []
# Query_time: 2.000346  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1372081723;
select sleep(2);

How to repeat:
n/a
[25 Jun 2013 6:22] MySQL Verification Team
Hello

Thank you for a feature request!

Thanks,
Umesh

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

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