tidb general log不显示ip

tidb 6.0也是支持显示IP的。

[2022/05/19 21:28:24.428 +08:00] [INFO] [session.go:3264] [GENERAL_LOG] [conn=411] [user=u1@192.168.8.101] [schemaVersion=32] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [current_db=] [txn_mode=PESSIMISTIC] [sql="select @@version_comment limit 1"]