Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Logging with the settings in Logging.json – PB Docs 2022 – PowerBuilder Library

Logging with the settings in Logging.json – PB Docs 2022

Logging with the settings in Logging.json

The ServerAPIs project >
Logging > Logging.json or Logging.Development.json file contains 1) the
log level of PowerServer; 2) the logs to display in the console
window; 3) the logging of SQLs, sessions, and transactions.

Settings in Logging.json file
will take effect in the production environment (for example, when Web
APIs is published and running in IIS, docker etc.). The default log
level is warning.

Settings in Logging.Development.json file will take effect
in the development environment (for example, when Web APIs is running
from the SnapDevelop IDE or the PowerBuilder IDE). The default log
level is warning.

The event levels (in the order of severity) include Trace,
Debug, Information, Warning, Error, Critical, and None. The level
change can be made at runtime (no need to restart the server).

For example, if you do not want to output logs at the
Information level (more detailed level), you can change the log level
in the file from “Information” to “Error”.

The following is a sample log:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x