Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
In SimpleOne, there are several log storages handled by the System Logs module. You can use them for troubleshooting and debugging that may take place. The storages are:
- Main Log – general log storage: all the logs generated by any module or script are recorded there.
- History – storage of the field changes.
- Script Log – storage of the extended logs of the script execution. logs
- Exception Log – storage for the exceptions thrown when running a script.
- Script Log – storage of the extended logs of the script execution.
Tip |
---|
Role required: admin. |
Main
logLog
To access this storage, navigate to the System Logs → Main Log.
If you need to find specific records or to sort them in a particular order, use a filter tool in the top of the page. Use the Condition Builder to configure the filter that will fit your needs most.
The system events writing down information here are:
- adding attachments
- impersonation
- search performing
- quick import logs
- LDAP user authorization
- LDAP autoprovision (creating user accounts via LDAP)
- email authorization
- calling the server-side SimpleSystem logging methods
- server validation errors
- incoming mail errors
- errors occurred when sending incorrect parameters into notifications.
Main log list fields
Field | Mandatory | Description |
---|---|---|
Source | Y | The message source (the module or script or functionality that was the originator of the logging). |
Level | Y | Message importance level:
These messages are also can be added by relevant SimpleSystem API methods. |
Message | N | The log message content. |
Username | N | Reference to the user initiated this record creation. |
History
History storage displays the record field changes in all tables in the human-readable format.
To access System History, navigate to the System Logs → History.
If you need to find specific records or to sort them in a particular order, use a filter tool at the top of the page. Use the Condition Builder to configure the filter that will fit your needs most.
History record form fields
Field | Mandatory | Description |
---|---|---|
Table Name | Y | The table name. |
Field Name | Y | The changed field. |
Record | Y | The record ID. |
Old Value | N | Old record value. |
New Value | N | New record value. |
Type | Y | Change type:
|
Username | Y | Username of the change originator. |
Script Log
This storage is for script execution extended information. All the related information can be found here, from the script body to its memory usage.
To access this storage, navigate to System Logs → Script Log.
If you need to find specific records or to sort them in a particular order, use a filter tool at the top of the page. Use the Condition Builder to configure the filter that will fit your needs most.
Script Log record fields
Field | Mandatory | Description |
---|---|---|
Script Document | N | A reference to the script object realized by this script. It may be, for example, a business rule. |
Script | N | The script body. |
Result | N | The script execution result (the returned value, as an example). |
Exception Log | N | Reference to the Exception Log record appeared during script execution. |
Essence Document | N | A reference to the object on which this object was executed. Script and Essence documents |
Start Time | N | This field shows the script start timestamp (in the Unix time format). |
Processing Time | N | Script processing time (in seconds). |
Memory Usage | N | Total script memory usage. |
Memory Start | N | Script memory usage when just started. |
Page UUID | N | The unique ID of the page on which the script was executed. If more than one log records have the same Page UUID, it means that the different scripts or actions were run on the same page. |
URL | N | Page URL where the script has been called. |
Info | N | Information returned by the script. |
Username | N | Reference to the user initiated this record creation. |
Exception Log
This storage contains records with the exception thrown when running a script.
To access this storage, please follow the link looking like System Logs → Exception Log.
If you need to find specific records or to sort them in a parpticular order, use a filter tool at the top of the page. Use the Condition Builder to configure the filter that will fit your needs most.
Exception Log
Change type:
- Insert
- Update
- Delete.
Field | Mandatory | Description |
---|---|---|
Message | N | Error message text returned by script. |
File | N | PHP-script file that has returned this error. |
String | N | Line number in script file. |
Backtrace | N | A call back stack with a list of the functions called. |
Page URL | N | Link to a page where this exception was thrown. |
History
History storage displays the record field changes in all tables in the human-readable format.
To access System History, navigate to the System Logs → History.
If you need to find specific records or to sort them in a particular order, use a filter tool at the top of the page. Use the Condition Builder to configure the filter that will fit your needs most.
History record form fields
. |
Table of Contents | ||||
---|---|---|---|---|
|