•  
      request #6299 Possibility to display user unix name in access_log
    Infos
    #6299
    Sandra Echinard (sechinard)
    2014-02-25 12:10
    2014-02-25 09:43
    6380
    Details
    Possibility to display user unix name in access_log
    We were looking for the way to modify the httpd.conf file so that we can have the information about the users who are accessing the site.
    There is a following section in httpd.conf:
    #
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    #
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    LogFormat "%{Referer}i -> %U" referer
    LogFormat "%{User-agent}i" agent

    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you *do*
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and *not* in this file.
    #
    CustomLog logs/access_log common

    We would like to modify LogFormat so it will actually display the username of the person who is accessing the site.
    Please let us know if it is possible.

    We need this information so we can generate reports with various user statistics.
    Installation process
    6.10
    Empty
    • [x] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Sandra Echinard (sechinard)
    Closed
    Empty
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Integrated in Tuleap 6.10.99.37

    • Category set to Installation process
    • Status changed from Under review to Closed
    • Assigned to changed from None to Sandra Echinard (sechinard)
    • Reported in version set to 6.10