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
  • Script Log
  • Exception Log
  • System History.
To be more specific: Main Log is a general
  •  – general log storage
,
  • : all the logs generated by any module or script
will be
  • are recorded there
Log Script is a storage of the extended logs of the script execution; Log Exception is a storage
  • .
  • History – storage of the field changes.
  • Exception Log – storage for the exceptions thrown when running a script
; System History is a storage of the field changes.
  • .
  • Script Log – storage of the extended logs of the script execution. 


Tip

Role required: admin.



Main log

To access this storage, navigate to the System Logs → Main Log.

If you need to find any specific records or to sort them in any a particular order, then you can do this using use a filter tool in the top of the page. Use the the Condition Builder to build configure the filter that will fit your needs most.

The system events writing down information here are:

  • adding attachments
  • impersonation
  • search performing search
  • 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 arisen occurred when sending incorrect parameters into notifications.

Main log list fields

FieldMandatoryDescription
SourceYThe message source (the module or script or functionality that was the originator of the logging).
LevelY

Message importance level:

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

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

MessageNThe log message content.
UsernameNReference to the user initiated this record creation.

Script Log

Script


This storage is for scripts script execution extended information, . All the related information can be found therehere, from the script body to its memory usage.

To access this storage, navigate to System Logs → Script Log Script.

If you need to find any specific records or to sort them in any a particular order, then you can do this using use a filter tool in at the top of the page. Use the the Condition Builder to build  to configure 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 Script Script Log record fields

FieldMandatoryDescription
Script DocumentNA reference to the script object realized by this script. It may be, for example, a business rule or something else.
ScriptNThe script body.
ResultNThe script execution result (the returned value, as an example).
Exception Log ExceptionNReference to the Exception Log Exception record appeared during script execution.
Essence DocumentN

A reference to the object on which this object was executed.

Script and Essence docsdocuments

Image RemovedImage Added

Start TimeNThis field shows the script start timestamp (in the Unix - time format).
Processing TimeNScript processing time (in seconds).
Memory UsageNTotal script memory usage.
Memory StartNScript memory usage when just started.
Page UUIDNThe 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.
URLNPage URL where the script has been called.
InfoNInformation returned by the script.
UsernameNReference to the user initiated this record creation.
Log Exception

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 Exception.

If you need to find any specific records or to sort them in any a parpticular order, then you can do this using use a filter tool in at the top of the page. Use the the Condition Builder to build  to configure 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 Exception Log

FieldMandatoryDescription
MessageNError message text returned by script.
FileNPHP-script file that has returned this error.
StringNLine number in script file.
BacktraceNA call back stack with a list of the functions called.
Page URLNLink to a page where this exception was thrown.
System

History


System History storage displays the record field 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 a particular order, then you can do this using use a filter tool in at the top of the page. Use the the Condition Builder to build  to configure the filter that will fit your needs most.

Click on the value in the first column and open up the specific history record.

History record form fields

FieldMandatoryDescription
Table NameYThe table name.
Field NameYThe changed field.
RecordYThe record ID.
Old ValueNOld record value.
New ValueNNew record value.
TypeY

Change type:

  • Insert
  • Update
  • Delete
Insert
  • .
UsernameYUsername of the change originator.


Table of Contents
absoluteUrltrue
classfixedPosition