|
|
|
@@ -89,3 +89,22 @@ ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,ensure-matrix-use |
|
|
|
## Usage |
|
|
|
|
|
|
|
To use the bridge, you need to start a chat with `@irc_bot:example.com` (where `example.com` is your base domain, not the `matrix.` domain). |
|
|
|
|
|
|
|
## Troubleshooting |
|
|
|
|
|
|
|
As with all other services, you can find the logs in [systemd-journald](https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html) by logging in to the server with SSH and running `journalctl -fu matrix-appservice-irc`. |
|
|
|
|
|
|
|
### Configuring for logging |
|
|
|
|
|
|
|
The default logging level for this component is `debug`, and the log is output to the console only. If you want to change the verbosity or enable logging to a file, add the following configuration to your `vars.yml` file (adapt to your needs) and re-run the playbook: |
|
|
|
|
|
|
|
```yaml |
|
|
|
matrix_appservice_irc_configuration_extension_yaml: | |
|
|
|
logging: |
|
|
|
# Level to log on console/logfile. One of error|warn|info|debug |
|
|
|
level: "debug" |
|
|
|
# The file location to log to. This is relative to the project directory. |
|
|
|
logfile: "debug.log" |
|
|
|
# The file location to log errors to. This is relative to the project directory. |
|
|
|
errfile: "errors.log" |
|
|
|
``` |