How to configure what user is making requests in swift logs in gluster-swift ?

Solution Verified - Updated -

Issue

  • How to configure what user is making requests in swift logs in gluster-swift ?

  • Is there anyway to see what user is making requests in swift logs?

~snippet from/etc/swift/proxy-server.conf configured file:

    [app:proxy-server] 
    use = egg:gluster_swift#proxy
    log_facility = LOG_LOCAL1
    log_level = DEBUG

Environment

  • Red Hat Gluster Storage 3.1
  • Gluster-Swift

~snippet from logs:

Jan  7 09:54:17 server container-server: 127.0.0.1 - - [07/Jan/2016:08:54:17 +0000] "GET /glusterfs/1/AUTH_glusterfs/test" 200 7359 "tx8a674cba00ce444d9ff41-00568e27b9" "GET https://de-swift.iprs/v1/AUTH_glusterfs/test?format=json" "proxy-server 20862" 0.1179

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content