Logging username on login

In the server log, there are login events, but they do not show who has logged in. For a number of actions it does show the user, but not login actions. Is it possible to add this to the event?

Hello @AJDurant,

You can see which user logged in cells.log (or the terminal if you do not redirect the logs inside a file), it will look like this

    "level": "info",
    "ts": "2019-07-03T16:58:04+02:00",
    "logger": "pydio.web.auth",
    "msg": "Login",
    "SpanUuid": "f5cea547-9da2-11e9-bb59-000c291f35f6",
    "RemoteAddress": "",
    "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36",
    "ContentType": "application/x-www-form-urlencoded",
    "HttpProtocol": "HTTP/1.1",
    "identity": {
        "UserID": "4b3ebad6-f937-4619-b109-59419c5bf56b",
        "Username": "elsa",
        "Email": "",
        "EmailVerified": true,
        "Groups": [],
        "ConnectorData": null

As you can see the Username, you could retrieve the logs with Prometheus or Elastic and have all the info that you wish to.

Nonetheless i’ll ask the devs and will open a ticket for a feature for the server logs.