Feature Request: Better Session Logging
Hey,
currently, the only way to search for any specific remote support session you have to use the docker logs command to see the logs written by Janus itself. I find this rather hard to use for finding out when a remote support session happened, the IP address of the supporter, and the IP address of the Android phone receiving support.
I feel like having a dedicated log that is human-readable and grouped by session would make sense here. I'd imagine that Janus itself could handle this with some sort of plugin, but I haven't really looked much into Janus myself, so I can't say for certain.
Anyways, one way could be to write a log file for each remote support session that was initiated. The log file itself then has log entries about:
- When the session was started
- By whom it was started (device name and IP address of the device)
- When a supporter connected with the session (IP address of the supporter)
- When the session was stopped (by whom the session was stopped and the exit code)
A feature like this would for example better help system admins to check who and when remote support happened, as well as possibly get a better understanding when issues like mentioned in my other issue for the apuppet-client (https://github.com/h-mdm/apuppet-android/issues/3) happen.