Changes

Jump to navigation Jump to search
158 bytes added ,  13:09, 25 February 2021
no edit summary
This article is part of the [[Advanced User's Guide]]. It describes how client operations are logged by the server.The server logs can e.g. be used to get an overview of all processes executed on your server, trace any errorsor compile performance statistics.
==Introduction==
The server logs are written in plain text. In your [[Configuration#Database Directory|Database Directory]], you can find a folder named <code>.logs</code> in which all log files are stored with the according date. Note that, depending on your OS and configuration, files and folders beinning beginning with a <code>.</code> may be hidden. The log directory can be changed via the {{Option|LOGPATH}} option.
If BaseX is used in a [[Web Application]], all trace output (generated via {{Code|fn:trace}}, {{Function|Profiling|prof:dump}} and similar functions) will be stored in the logs as well.
* The maximum length of logging messages can be changed via {{Option|LOGMSGMAXLEN}}.
* The [[Admin Module]] provides access to the log files from XQuery.
 
Since {{Version|9.5}}, if a proxy is used, the original client IP address will be added to the logs.
==RESTXQ==
=Changelog=
 
;Version 9.5
* Updated: Show IP address behind proxy.
;Version 9.3
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu