Skip to content
This repository has been archived by the owner on Mar 26, 2020. It is now read-only.

[RFC] Rest logging improvements #978

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

[RFC] Rest logging improvements #978

wants to merge 4 commits into from

Commits on Jul 10, 2018

  1. middleware: log the incoming request prior to processing

    It is useful to log the request as it is being made to the
    server rather than relying entirely on logging generated
    after the request. Logging before the request is processed can
    help a person debugging with understanding when the client
    first made the request.
    Log the client's user agent string.
    
    Signed-off-by: John Mulligan <[email protected]>
    phlogistonjohn committed Jul 10, 2018
    Configuration menu
    Copy the full SHA
    a4d5742 View commit details
    Browse the repository at this point in the history
  2. rest client: support sending and extending the user agent

    Support having the rest client library send a more specific
    user agent string to the server. Provide a mechanism for
    tools built upon that library to add more specific user agent
    information.
    Use the api in the glusercli command line tool to specify
    itself.
    
    Signed-off-by: John Mulligan <[email protected]>
    phlogistonjohn committed Jul 10, 2018
    Configuration menu
    Copy the full SHA
    d432b5a View commit details
    Browse the repository at this point in the history
  3. rest client: add mechanism to have server log cli arguments

    Extend the cli such that it can send it's original command line
    arguments to the server so that the server may log the
    original command that initiated the api call.
    
    Signed-off-by: John Mulligan <[email protected]>
    phlogistonjohn committed Jul 10, 2018
    Configuration menu
    Copy the full SHA
    e4b5945 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2018

  1. Configuration menu
    Copy the full SHA
    39b5ad3 View commit details
    Browse the repository at this point in the history