PM4Py-WS Default Log Database

PM4Py-WS Default Log Database

A SQLite database, stored in the event_logs.db file inside the files/databases directory, that is read/written from the default log manager.

If you use the default log manager, you could change the logs (along with their paths), the visibility, the admin/upload/download rights, here.

Tables:

ADMINS

Saves the list of users that have admin rights over the application.

Columns:

USER_ID (TEXT) The ID of the user that should be an administrator.

OTHER_USERS

Saves the list of users that have access to the application, but without being admins (this table is useful only when the default session handler is not used)

Columns:

USER_ID (TEXT) The ID of the user.

EVENT_LOGS

Saves the list of event logs along with their physical path on the system.

Columns:

LOG_NAME (TEXT) The unique name of the log inside the application

LOG_PATH (TEXT) The physical path to the log

IS_TEMPORARY (INT; 0-1) Indicates if the log is temporary (must be removed at next start-up of the services) or not

LOADED_BOOT (INT; 0-1) Indicates if the log shall be loaded into the web services (if 1, it is loaded; if 0, not)

CAN_REMOVED Indicates if the log can be removed (if it is 0, the log cannot be removed)

USER_LOG_DOWNLOADABLE

Saves the list of users that could download a specific event log.

Columns:

USER_ID (TEXT) The ID of the user

LOG_NAME (TEXT) The name of the log

USER_LOG_REMOVAL

Saves the list of users that could remove a specific event log.

Columns:

USER_ID (TEXT) The ID of the user

LOG_NAME (TEXT) The name of the log

USER_LOG_VISIBILITY

Saves the list of users that could view a specific event log.

Columns:

USER_ID (TEXT) The ID of the user

LOG_NAME (TEXT) The name of the log

USER_UPLOADABLE

Saves the list of users that could upload event logs to the system.

Columns:

USER_ID (TEXT) The ID of the user that could upload event logs to the system.