Commit c1486032 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Log remote addr

parent 99446daf
......@@ -16,6 +16,7 @@ def index():
@app.route('/hip')
def hip():
logging.info(f"Request from: { request.environ.get('HTTP_X_REAL_IP', request.remote_addr) }")
r = ""
url = f"http://{service}-{tier + 1}/hip"
try:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment