Configuration and error log files to check for troubleshooting
Ezeelogin configuration and error logs
Overview: This article details the configuration file location and the log files for the web interface and backend SSH (ezsh shell) interface, including how to find and analyze these logs for troubleshooting.
The gateway server configuration file is located at /usr/local/etc/ezlogin/ez.conf
Gateway server has two logs files one for the web interface and one for the backend SSH interface called the ezsh shell (short for the Ezeelogin backend shell)
FRONTEND OR WEB INTERFACE LOGS
- The frontend or the web interface runs on PHP and hence a separate log file for it. The log files are stored in the /{system folder specified at the time of installation.
- You can find the path by checking the system_folder in /usr/local/etc/ezlogin/ez.conf. The path would be /{system folder}/application/logs/
You can also run the following command on the gateway server to get the path to application logs:
root@gateway:~# cd $(awk '/^system_folder/ {print $2}' /usr/local/etc/ezlogin/ez.
BACKEND OR SSH LOGS
- The backend or ssh error logs for each Ezeelogin user are stored in /home/{username}/ezsh.log file. If you are having any issues with the ssh logins, this is the log file to take a look.
- You should also check the /var/log/secure & /var/log/messages log file as it records most of the ssh login errors.
For detailed debug log for troubleshooting, do append the parameter log_level trace in ez.conf
root@gateway:~# nano /usr/local/etc/ezlogin/ez.conf
log_level trace
OR
root@gateway:~# echo "log_level trace" >> /usr/local/etc/ezlogin/ez.conf
Related Articles:
Error log file and configuration file to troubleshoot
How to transfer Ezeelogin SSH session logs recorded to a remote server?