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

# Mediation Controller

> **Attention**
>
> This section is specific to CyberElements Bastion infrastructures.

`Mediation Controller` contains the following log files, mainly related to product operation:

## Web portals (administration console and cloud portal):

All log files related to the `Mediation Controller` servers' web interfaces are located in the `/var/log/apache2` folder:

- The `ipdiva_logs_ipdiva_vh_XX.XX.XX.XX_443.conf_error.log` file indicates errors accessing the web interface concerned.
- The `ipdiva_logs_ipdiva_vh_XX.XX.XX.XX_443.conf_access.log` file indicates all access information for the web interface concerned.

The files may contain more information with the debug option enabled in “`/etc/ipdiva/care/djangosettings.ini`”, but it is not recommended to enable this option in production:

```
1
2
```

## Password safe:

- `/var/log/ipdiva/cleanroom-vault.log` (automatic password rotation)
- `/var/log/syslog` (manual password rotation)
- `/var/lib/ipdiva/care/logs/cleanroom-vault-db.log` (password vault creation)

The log level can be changed in the file: `/etc/ipdiva/cleanroom-vault-service/logging.conf`

## Automatic report generation and log cleanup service:

- `/var/log/syslog` (prefixed by “ipdiva-safe-tasks”)

## Email sending service:

- `/var/log/syslog` (prefixed by “ipdiva-safe-emails”)

## Backup and restore logs:

- `/var/lib/ipdiva/care/backup/ORG-backuplog.txt`
- `/var/lib/ipdiva/care/backup/ORG-restorelog.txt`

## Cluster server synchronization:

- `/var/log/ipdiva/hostmanager/hostManager.log`

## Certificate configuration:

- `/var/log/ipdiva/hostmanager/hostManager.log`

## SSL router log:

- `/var/log/IPdivaServer.log`
  -> Information about tunnel establishment, resource access control, and gateway connections.

## Watchdog log:

- `/var/log/syslog` (prefixed by “IPdivaWatchdog”)
  -> Information on platform operation monitoring and virtual IP operations.

## Logging of user and administrator actions:

- `/var/log/ipdiva/logger.log`
  -> Information on the user and administrator action logging service, including, where applicable, the sending of alert emails.
