
PostgreSQL
/var/log/postgresql/postgresql-15-main.log |
HAProxy
/var/log/haproxy/haproxy.log |
Keycloak
By default, Keycloak does not log.
To enable logging, the Keycloak service must be given the appropriate parameters. One way is to correct the service unit file in systemd (Path - /lib/systemd/system/keycloak.service):
[Unit]
Description=Keycloak
[Service]
EnvironmentFile=/opt/keycloak-21.1.1/conf/keycloak.env.conf
ExecStart=/opt/keycloak-21.1.1/bin/kc.sh start --log=file --log-level=DEBUG --log-file="/var/log/keycloak/keycloak.log"
[Install]
WantedBy=multi-user.target |
After the changes, you must create a folder for Keycloak logs.
Restart the service with the following commands:
# systemctl daemon-reload
# systemctl restart keycloak |
Nginx
Nexus
/opt/sonatype-work/nexus3/log/ |
Rabbit
Elastic
Logstash
Kibana
/var/log/kibana/kibana.log |
WildFly
The location of the logs depends on how wildfly works:
Storageapi
Robin assistant
/opt/robin-assistant/logs/ |