3.23. logui.txt


<< Prev   Next >>

The logui.txt file contains a list of interactive user actions that were performed during logging.

File location:

  • On Windows: %APPDATA%\1C\1cv8\<Infobase UUID>.
  • On Linux: ~/.1cv8/1C/1cv8/<Infobase UUID>.
  • On macOS: ~/.1cv8/1C/1cv8/<Infobase UUID>.

One file entry contains a description of a single user action. An overall format of a string is, as follows:

  • Date and time of an event.
  • Description of an event (Event).
  • Name of an object with which an event occurred.
  • Time (in milliseconds) from the start of the application (t).
  • Prefixes beg or end (similar to the opening and closing parenthesis) identifying a beginning and end of an event.
  • Adding more specifics (Detail).

In order to collect statistics on the duration of actions taken, a beginning and end of the action are recorded in the protocol. A beginning of the action is contained in the record marked as beg; an end of the action – is marked in the record as end (these evidences are displayed at the very end of the log line).

Also, the duration of the action marked as t is recorded. Time count (in milliseconds) starts at the moment of the application startup.

Between the log lines containing beg and end, there can be located both nested actions containing beg and end and the lines reflecting any actions to be recorded in the log.

Logging is performed for all items of the form and items of the global command interface available in 1C:Enterprise mode.

The following actions are logged:

  • Pressing a key on the keyboard. Data entered by user is replaced with asterisks in the protocol (Event Key_<key> or Event key_*).
  • Clicking the left (Event_LClick), right (Event_RClick), and middle mouse buttons (Event_MBtnDn).
  • Double clicking the left mouse button (Event_ LBtnDbl).
  • Scrolling the mouse wheel (Event_Wheel).

Unique events are used for some items:

  • Form:
    • Activation of the form window:
"Event FormActivate","Name <form name>"
  • Subsystem Panel (PartitionPanel):
    • Selecting a subsystem or desktop using the mouse:
"Event LClick","Name PartitionPanel"
  • Using a keyboard shortcut:
"Event PanelActivate","Name SubsystemsPanel"
  • Navigation panel (FormNavigationPanel):
    • Executing command:
"Event LClick","Name FormNavigationPanel","Detail Execute <command name>"
  • Expanding/collapsing a group of commands:
"Event LClick","Name FormNavigationPanel","Detail Close <command group name>"
  • Using a keyboard shortcut:
"Event PanelActivate","Name FormNavigationPanel"
  • Window caption (WindowCaptionText):
    • Clicking on the caption:
"Event LClick","Type WindowCaptionText","Detail DataProcessor"
  • Actions panel (ActionsPanel):
    • Executing command:
"Event LClick","Name ActionsPanel","Detail <command name>"
  • Using a keyboard shortcut:
"Event PanelActivate","Name ActionsPanel"
  • An area of the information panel which displays a list of the latest alerts (NotificationHistoryPanel):
    • Executing command:
"Event Key_SPACE","Name NotificationHistoryPanel","Detail<name>"
  • Using a keyboard shortcut:
"Event PanelActivate","Name NotificationHistoryPanel"
  • Status window (StatusWindow):
    • Closing:
"Event CloseWindow"
  • Moving:
"Event MoveWindow offset=<dx,dy> pos=<x,y,w,h>"
  • Notification window (NotificationWindow):
    • Closing:
"Event CloseWindow"
  • Clicking on hyperlink:
"Event LClick","Name NotificationWindow","Detail Hyperlink"
  • Moving:
"Event MoveWindow offset=<dx,dy> pos=<x,y,w,h>"
  • Check window (input error prompt) (CheckWindow):
    • Click Next message:
"Event LClick","Name CheckWindow","Detail NextButton"
  • Click Previous message:
"Event LClick","Name CheckWindow","Detail PrevButton"
  • Click Close:
"Event LClick","Name CheckWindow","Detail CloseButton"

Examples of log entries:

"17.12.200816:41:55","Event Key_SPACE",
"Name HistoryPanel", "t=465562", "beg"
"17.12.200816:41:55","Event FormActivate",
"Name Catalog.Goods.ListForm", "t=465562"
"17.12.200816:41:56","Event Key_SPACE","Name HistoryPanel",
"Detail Bold","t=466281", "end"
"17.12.200816:07:05","Event PanelActivate",
"Name HistoryPanel", "t=918188"

<< Prev   Next >>

Icon/Social/001 Icon/Social/006 Icon/Social/005 Icon/Social/004 Icon/Social/002