Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logging and recording of requests #170

Closed
wants to merge 21 commits into from

Commits on Jun 14, 2024

  1. Configuration menu
    Copy the full SHA
    c46de61 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b9f1e1 View commit details
    Browse the repository at this point in the history
  3. merge conflict fixes

    tateexon committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    e8dff5f View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2024

  1. Configuration menu
    Copy the full SHA
    3c18bdc View commit details
    Browse the repository at this point in the history
  2. - Sync file wrties in the RequestWriter

    - Handle cases where the dumpCh is full
    - Use bytes.NewReader
    tateexon committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    72b3f4e View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. Wrap request gorilla/handlers#CustomLoggingHandler to log requests

    Base64 encode the body and attach it to the log that is output if there is a body
    tateexon committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    acaa33c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd93b1f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b7bafe8 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. 8 Configuration menu
    Copy the full SHA
    ac2569a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8c2e34c View commit details
    Browse the repository at this point in the history
  3. replace -v --verbose with -l --log-level with 3 settings, 0 default, …

    …1 adds requests, 2 adds request body
    tateexon committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    fcc3cb7 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Configuration menu
    Copy the full SHA
    7c5b2d5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dbd4701 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. Add a serverconfig package

    Use server config package in cmd, NewServer, and tests
    Move gorilla handlers logging copy paste to its own package
    Add gorilla license to the license file
    tateexon committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    b0dbb5f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a345b0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6459695 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fdf0d40 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. Configuration menu
    Copy the full SHA
    cf5ca23 View commit details
    Browse the repository at this point in the history
  2. Add custom logger as json output

    Convert channel to *[]byte to make handling future log formats easier
    tateexon committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    5cdd797 View commit details
    Browse the repository at this point in the history
  3. Add max to the body that can be logged out

    add configuration for this
    tateexon committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    3dacb9d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    78a8ae0 View commit details
    Browse the repository at this point in the history