Viewing log files
JavaEE server (JBoss / WildFly)
The nevisAuth server writes all error and tracing information to the following file:
/var/opt/nevisauth/default/log/esauth4sv.log
To look for errors inside these log files, use the following command:
nevisauth default log show err
or (if you have direct file access)
grep ERROR /var/opt/nevisauth/default/log/*.log
The above command only covers the most recent versions of all log files.
Log files are versioned similar to the UNIX syslog files with a numeric version postfix.
Standalone deployment
Instances created with the nevisauth inst create command
- Expect the following configuration: /var/opt/nevisauth/[instance]/conf/log4j.xml.
- Use the supplied /var/opt/nevisauth/[instance]/conf/log4j.xml, which contains settings to log to /var/opt/nevisauth/[instance]/log/esauth4sv.log.
If you directly start nevisAuth with the nevisauth-server binary, you can provide the log4j configuration via the --log-config argument.
In case no log configuration is provided, nevisAuth logs to the standard output (console) by default.
The nevisauth log command is not supported for standalone deployments.