diff options
author | Alexander Filippov <a.filippov@yadro.com> | 2018-09-12 14:31:22 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-09-13 15:49:01 +0300 |
commit | 74246de09de7414271434a2a5ee2269605fd0758 (patch) | |
tree | ca83bd08e330091878d436967f1283048a54bbd7 /meta-ibm/meta-witherspoon | |
parent | 2a6e9f0d917c0f4f73d01bb529f66be6da34e65d (diff) | |
download | openbmc-74246de09de7414271434a2a5ee2269605fd0758.tar.xz |
phosphor-rest: fix remote address in log messages
When we use the webui/rest from the remote host, we connect to the nginx
and the system log at the BMC always contains `127.0.0.1` as the remote
address in corresponded records.
This commit resolve it.
Tested:
- Login to the WebUI
- `journalctl` should contain record like:
```
Sep 12 11:11:33 phosphor-gevent[1374]: YOR-IP-ADDRESS user:root
POST http://127.0.0.1:8081/login json:None 200 OK
```
(From meta-ibm rev: 77722e5c97faf43c6f41b52bfcadc140273eab5c)
Change-Id: Ib9a5bdaec5c5f07eceb0ba2b0ee4d572a85e889d
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm/meta-witherspoon')
0 files changed, 0 insertions, 0 deletions