Changes

Jump to navigation Jump to search
126 bytes removed ,  12:49, 8 July 2020
no edit summary
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 with a <code>.</code> may be hidden. The log directory can be changed via the {{Option|LOGPATH}} option.
{{Mark|Updated with Version 9.3:}} If BaseX is running as 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.
Some more notes on the logging facility:
==RESTXQ==
 
{{Mark|Updated with Version 9.3:}} The request attributes will be checked for a user id.
By default, RESTXQ code is executed with the {{Code|admin}} user. As a result, this user will be displayed in the logs for all RESTXQ requests. In a web application with a custom user management, however, the name of the actual user who has sent a request is often more relevant.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu