#1018 (ok 3.2.0) Improved web server logging

fixed
1
2013-06-11
2007-04-04
mcmd1962
No

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.

Discussion

  • Sebastian Mendel

    Logged In: YES
    user_id=326580
    Originator: NO

    it should be placed in common.inc.php

     
  • Marc Delisle

    Marc Delisle - 2007-07-09

    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) ?

     
  • Michal Čihař

    Michal Čihař - 2008-09-03

    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 ;-).

     
  • Michal Čihař

    Michal Čihař - 2009-03-03
    • assigned_to: nobody --> nijel
     
  • Michal Čihař

    Michal Čihař - 2009-03-03

    Implemented in SVN, thanks for suggestion.

     
  • Michal Čihař

    Michal Čihař - 2009-03-03
    • priority: 5 --> 1
    • summary: Improved web server logging --> (ok 3.2.0) Improved web server logging
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2009-06-15
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks