Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
In SimpleOne, there are several log storages with different functional purpose. These are:
- sys_log;
- sys_log_script;
- sys_log_exception;
- sys_history.
To be more specific: sys_log is a general log storage, all the logs generated by any module or script will be recorded there; sys_log_script is a storage of the extended logs of the script execution; sys_log_exception is a storage for the exceptions thrown when running a script; sys_history is a storage of the field changes.
sys_log
To find the sys_log records, navigate to the System Logs → Main Log {or, in general, follow the link looking like {your_instance_url}/list/sys_log).
тут вставить какую-нибудь переходную
Field | Description |
---|---|
Sys | The unique ID of the message. |
Sys created at | This field stores information about the record creating date and time. |
Sys created by | Reference to the user who has created the record in the table. |
Sys updated at | This field stores information about the record updating date and time. |
Level | Message importance level:
These messages are also can be added by relevant SimpleSystem API methods |
Message | The log message content. |
Source | The message source (the module or script or functionality that was the originator of the logging). |
sys_log_script
To find the sys_log_script records, follow the link looking like {your_instance_url}/list/sys_log_script)
field | description |
---|---|
тут вставить какую-нибудь переходную
написать описание листа
здесь описываем конкретную запись
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). |
Source | The type of the script that is the originator of the adding a log record. |
URL | URL of the page on which the script was executed. |
Sys updated by | Reference to the user who updated record in the table. |
Sys created by | Reference to the user who created the record in the table. |
Processing time | Script processing time (in seconds). |
Memory start | Script memory usage when just started. |
Memory usage | Total script memory usage. |
sys_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. |
Sys updated by | Reference to the user who has updated record in this table. |
Sys created by | Reference to the user who has created the record in this table. |
Page URL | Link to a page where this exception was thrown. |
sys_history
To access System History, navigate to the System Logs → History (or, in general, follow the link looking like {your_instance_url}/list/sys_history)
On this list, all the field changes in all the tables are displayed in the human-readable format.
написать описание листа
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 Sys column, and you will enter 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. |
Sys updated by | Reference to the user who has updated record in this table. |
Sys created by | Reference to the user who has created the record in this table. |
Table of Contents | ||||
---|---|---|---|---|
|