In the web server log file you donot see which user is actually using phpMyAdmin. It would be nice when this info is added to the log file as users are authenticated by the application.
For apache web server I have added the following line in main.php (line 80):
apache_note('userID', $mysql_cur_user_and_host);
This helps a bit, but this only helps for a fraction of the logging. Unfortunately I cannot find a better place to do this (suggestion?), but I think it would improve tracebility a lot when this would become available.
Logged In: YES
user_id=326580
Originator: NO
it should be placed in common.inc.php
Logged In: YES
user_id=210714
Originator: NO
How can I test this? (how does the data from the note goes to the log file) ?
Logged In: YES
user_id=192186
Originator: NO
You would have to use something like %{userID}n in LogFormat. This RFE seems to be pretty trivial, but I don't run Apache anywhere ;-).
Implemented in SVN, thanks for suggestion.