Skip to main content

LogStatus

Parameters

What the recorded history can say about history it no longer holds. The four losses are separate questions and are reported separately, because a stored history that could not be read is not the same thing as one that was never written.

Import​

import ScriptingApi as api

# Access the class
# LogStatus is available via api.LogStatus

Properties​

recording​

Whether actions are being recorded at all.

Type: bool


session_id​

Identifies the current session.

Type: str


project_log_id​

Identifies the history of the open project.

Type: str


session_event_count​

Records held for the current session.

Type: int


project_event_count​

Records held for the open project.

Type: int


retained_unreadable_project_log​

A stored history this build could not read, kept unchanged rather than replaced.

Type: bool


project_history_truncated​

Project history older than the retained window was dropped.

Type: bool


evicted_session_event_count_known​

Whether the dropped-record count below could be read at all.

Type: bool


evicted_session_event_count​

Oldest records of this session dropped past the retained window. They remain in the session journal on disk, which is a recovery path rather than something a listing or an export can reach.

Type: int


degraded​

Whether recording or the session journal failed.

Type: bool


degraded_reason​

What failed, in the application's own words. It is a message to show, not a code to compare against.

Type: str


See Also​