In version 2.0.29 and later, ProcessMaker uses the configuration file env.ini for global settings which aren't available under the ADMIN menu.
Use a plain text editor to edit the configuration file located at:
It is generally found at:
By default, the env.ini file has the following content:
Most of the settings can be enabled by setting them to 1 and disabled by setting them to 0. Settings which are strings should be enclosed in double quotation marks. Lines beginning with ";" (semicolons) are treated as comments and are ignored. Remove the semicolon to uncomment the setting.
If the debug_sql option is set to 1 (or debug is set to 1), then every SQL query to the workflow (wf_<WORKSPACE>), rbac (rb_<WORKSPACE>) and report (rp_<WORKSPACE>) databases will be written in the following three log files:
Each line in the log files records SQL actions in the following format:
For example, here is the shared/log/workflow.log file for the "admin" user's login from the IP address 192.168.0.168:
Logging will noticeably slow down ProcessMaker's performance, so it is not suggested to use this option except for debugging. The log files are not automatically deleted, so they will continue to append new information (until the file system runs out of space). If SQL Logging is enabled for long periods of time, it is a good idea to periodically delete the log files so they don't occupy too much harddrive space.
To turn on MySQL logging before version 2.0.29, edit the file <INSTALL-DIRECTORY>/workflow/public_html/sysGeneric.php with a plain text editor. it can generally be found at:Linux/UNIX:
Windows, before ProcessMaker version 1.6-4260:
Windows, in ProcessMaker version 1.6-4260 and later:
Change the value of the debug setting to 1 to turn on detailed SQL logging:
If the debug_time option is set to 1, then the time to process each web request will be logged in a file located at:
Each line in the log file records the time to process a separate web request in the following format:
Note that the processing-time is in seconds and milliseconds, so a time of 1.309 means 1 second and 309 milliseconds. The URL-path does not include the protocol and IP/Domain address. Time Logging is a good way to discover the URLs and GET variables used in the different frames in the ProcessMaker interface.
For example, here is the shared/log/time.log file for running a case:
The client machine is running on 192.168.0.168 and the ProcessMaker server is running on 192.168.1.76 (the first two numbers of the IP address aren't displayed because of the network's netmask).
Automate your Workflow with Business Process Management
Privacy Statement
© Copyright 2000-2026 Decisions All rights reserved.

