> Source: https://docs.cyberelements.io/bastion/4.6/Usage/Operation/Logs/EdgeGatewayLogs/

# Edge Gateway

The **Edge Gateway** server contains the following log files, mainly related to the recording:

## Recording service:

- `/var/log/syslog`
- These are the lines corresponding to the “CARE_recording_server” and “CARE_Session” programs.
- Various information related to the processing of user actions and alerts are logged. Some information about video encoding is also recorded.

## Resources:

- `/var/log/auth.log` (prefixed by sshd-ipdivacare)

## RDP resources:

- `/var/log/syslog` (prefixed by xrdp and xrdp-sesman)
- Some information is logged in `/var/run/cleanroom/log/xrdp.log` and `/var/run/cleanroom/log/xrdp-sesman.log`. These files are not persistent: they are deleted when the server restarts.
- Connection redirection: `/var/log/ipdiva/cleanroom-redirect.log`

## Web resource:

- `/var/log/syslog` (prefixed by cleanroomwebrecord)

## Direct SSH recording:

- `/var/log/syslog`

## Agent installation/uninstallation:

- `/var/log/ipdiva/gwController.log`
- Additional log containing the output of the commands used for installation. It is located at: `/var/log/ipdiva/careagentinstall.log`

## Edge Gateway connection:

- `/var/log/IPdivaGateway.log` (prefixed by IPdivaGateway-Instance)
- Connection information for the various instances present on the Edge Gateway (LDAP, Gateway, and HTML5 instances).
- Information about establishing connections to resource servers,
- Information about accessing web pages for web resources/reverse proxies,
- Information about IN/OUT tunnels,
    - `/var/log/syslog`
    - Contains system messages and general information about server activities,
    - Some logs present in the `/var/log/IPdivaGateway.log` file are also present,

## HTML5 connections:

- `/var/log/tomcat10/catalina.out`
- Contains information related to the HTML5 connection (connection, disconnection, keyboard layout, disk redirection, wallpaper redirection, etc.)
