You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 19 Next »
In SimpleOne, there are several log storages handled by System Logs module. You can use them for troubleshooting and debugging that may take place. The storages are:
- Main Log
- Script Log
- Exception Log
- System History.
To be more specific: Main Log is a general log storage, all the logs generated by any module or script will be recorded there; Log Script is a storage of the extended logs of the script execution; Log Exception is a storage for the exceptions thrown when running a script; System History is a storage of the field changes.
Role required: admin.
Main log
To access this storage, navigate to the System Logs → Main Log {or, in general, follow the link looking like {your_instance_url}/list/sys_log).
If you need to find any specific records or to sort them in any order, then you can do this using a filter tool in the top of the page. Use the Condition Builder to build the filter that will fit your needs most.
Main log list fields
Field | Description |
---|---|
Source | The message source (the module or script or functionality that was the originator of the logging). |
Level | Message importance level:
These messages are also can be added by relevant SimpleSystem API methods |
Message | The log message content. |
Created by | Reference to the user who has created the record in the table. |
Created at | This field stores information about the record creating date and time. |
Log Script
This storage is for scripts execution extended information, All the related information can be found there, from the script body to its memory usage.
To access this storage, navigate to System Logs → Log Script.
If you need to find any specific records or to sort them in any order, then you can do this using a filter tool in the top of the page. Use the Condition Builder to build the filter that will fit your needs most.
Click on the value in the firstcolumn, and you will enter the specific history record.
Log Script record fields
Field | Description |
---|---|
Info | Information returned by script |
Script | The script body. |
Result | The script execution result. |
Script document | A reference to the script object realized by this script. It may be, for example, a business rule or something else. |
Essence document | A reference to the object on which this object was executed. Script and Essence docs |
Page UUID | The unique ID of the page on which the script was executed. If more than one log records have same Page UUID, it means that the different scripts or actions were run on the same page. |
Start time | This field shows the script start timestamp (in the Unix-time format). |
Processing time | Script processing time (in seconds). |
Memory start | Script memory usage when just started. |
Memory usage | Total script memory usage. |
Log Exception
This storage contains records with the exception thrown when running a script.
To access this storage, please follow the link looking like System Logs → Log Exception.
If you need to find any specific records or to sort them in any order, then you can do this using a filter tool in the top of the page. Use the Condition Builder to build the filter that will fit your needs most.
Click on the value in the first column, and you will enter the specific history record.
Log Exception
Field | Description |
---|---|
Message | Error message text returned by script. |
File | PHP-script file that has returned this error. |
String | Line number in script file. |
Backtrace | A call back stack with a list of the functions called. |
Page URL | Link to a page where this exception was thrown. |
System History
System 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 any specific records or to sort them in any order, then you can do this using a filter tool in the top of the page. Use the Condition Builder to build the filter that will fit your needs most.
Click on the value in the firstcolumn and open up the specific history record.
History record form fields
Field | Description |
---|---|
Table name | The table name. |
Field name | The changed field. |
Record | The record ID. |
Old value | Old record value. |
New value | New record value. |
Type | Change type:
|
Username | Username of the change originator. |
Updated by | Reference to the user who has updated record in this table. |
Created by | Reference to the user who has created the record in this table. |
- No labels