Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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;
  • sys_log_script;
  • Script Log
  • Exception Logsys_log_exception;
  • 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.

Note

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).To access this storage, please follow the link looking like {your_instance_url}/list/sys_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.

Main log list fields

Sys unique ID of the message.
FieldDescription
SourceThe
Sys created atThis field stores information about the record creating date and time.
Sys created byReference to the user who has created the record in the table.
Sys updated atThis field stores information about the record updating date and time.
message source (the module or script or functionality that was the originator of the logging).
Level

Message importance level:

  • Debug - debug message;
  • Info - information message;
  • Warning - warning message;
  • Error - error message.

These messages are also can be added by relevant SimpleSystem API methods

MessageThe log message content.
Created byReference to the user who has created the record in the table.
Created atThis field stores information about the record creating date and timeSourceThe message source (the module or script or functionality that was the originator of the logging).

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,  follow the link looking like {your_instance_url}/list/sys_log_script)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 Sys columnfirstcolumn, and you will enter the specific history record.

Log Script record fields

FieldDescription
InfoInformation returned by script
ScriptThe script body.
ResultThe script execution result.
Script documentA 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 uuidUUIDThe 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 timeThis field shows the script start timestamp (in the Unix-time format).SourceThe type of the script that is the originator of the adding a log record.URLURL of the page on which the script was executed.
Sys updated by Reference to the user who updated record in the table.
Sys created byReference to the user who created the record in the table.
Processing timeScript processing time (in seconds).
Memory startScript memory usage when just started.
Memory usageTotal 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 {your_instance_url}/list/sys_log_exception)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 Sys columnfirst column, and you will enter the specific history record.

Log Exception

FieldDescription
MessageError message text returned by script.
FilePHP-script file that has returned this error.
StringLine number in script file.
BacktraceA 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 byReference to the user who has created the record in this table.
Page URLLink 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 (or, in general, follow the link looking like {your_instance_url}/list/sys_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 Sys column firstcolumn and open up the specific history record.

History record form fields

FieldDescription
Table nameThe table name name.
Field nameThe changed field.
RecordThe record ID.
Old valueOld record value.
New valueNew record value.
Type

Change type:

  • Update;
  • Delete;
  • Insert.
UsernameUsername of the change originator.
Sys updated by Updated byReference to the user who has updated record in this table.
Sys created Created byReference to the user who has created the record in this table.


Table of Contents
absoluteUrltrue
classfixedPosition