Introduction / FirstSpirit Server configuration / Integration into an external application server / Logging for FirstSpirit web applications
Logging for FirstSpirit web applications
Logging for FirstSpirit web applications when using external application servers is handled in some files on the (remote) FirstSpirit server in the directory firstspirit5/log, whose name is based on the format
fs-webapp-[Hostname]-[Port].log
fs-webapp-localhost-1088.log, for instance. The host name and port number refer to the application server on which the web application is installed. By default, WARN and higher level messages are copied to the log file. For debugging purposes, however, the level can be set lower via the parameter WEBAPP_LOG_LEVEL in the fs-server.conf configuration file (for more information, see Area: Web Applications).
The transfer is not in real-time; duplicates are filtered out. As in the case of other FirstSpirit log files, the fs-webapp log files are also compressed and archived as *.gz files. These include a time stamp in the file name. Archived files can be deleted or moved to firstspirit5/backup using the “Clean up logs” server schedule entry.
If a log file is removed (e.g. by deletion or external logrotate), this file will not be recreated until the server is restarted. |