Environment
Uipath
: Studio 2019.10.2 Enterprise
System
: Windows 10
Description
Uipath old version log parsing failed, Since current Uipath-log-analyze version (1.0.1) use latest Uipath log as reference
The log structure of the old version of Uipath and the latest version are different
Older version
09:47:08.3303 Info {
"message":"InvoiceNumberReturn execution started",
"level":"Information",
"logType":"Default",
"timeStamp":"2023-02-07T09:47:08.326369+08:00",
"fingerprint":"38d6a1af-c77d-4d82-875c-89dc2ba5a5dc",
"windowsIdentity":"CN\\example",
"machineName":"HAH17-3301L",
"processName":"ExampleDemo",
"processVersion":"1.0.0",
"jobId":"e3804333-367b-4760-8601-f00d1584014c",
"robotName":"CN\\EXAMPLE",
"machineId":0,
"fileName":"登录OMS"
}
09:47:19.3806 Info {
"message":"message-demo",
"level":"Information",
"logType":"User",
"timeStamp":"2023-02-07T09:47:19.3806105+08:00",
"fingerprint":"c62c00c6-b4cd-44e2-b61a-30cba340a715",
"windowsIdentity":"CN\\example",
"machineName":"HAH17-3301L",
"processName":"ExampleDemo",
"processVersion":"1.0.0",
"jobId":"e3804333-367b-4760-8601-f00d1584014c",
"robotName":"CN\\EXAMPLE",
"machineId":0,
"fileName":"Login web"
}
13:44:23.5342 Info {
"message":"retailInvoicAutomation execution ended",
"level":"Information",
"logType":"Default",
"timeStamp":"2023-02-07T13:44:23.5332693+08:00",
"fingerprint":"944c140f-ae4d-484c-9db3-6da7304d3f30",
"windowsIdentity":"CN\\example",
"machineName":"HAH17-3301L",
"processName":"ExampleDemo",
"processVersion":"1.0.0",
"jobId":"4d0e64b9-069e-4671-8d48-af0d8991a258",
"robotName":"CN\\EXAMPLE",
"machineId":0,
"totalExecutionTimeInSeconds":25,
"totalExecutionTime":"00:00:25",
"fileName":"TIS-修改客户名称"
}
Ended log has two more attributes
"totalExecutionTimeInSeconds":,
"totalExecutionTime":"",
Latest Version
Environment
Uipath
: Studio 2022.10.3 Community
System
: Windows 10
Started Log
-
Added initiatedBy
and organizationUnitId
attributes, Compared to the old version
-
The position of fileName
has changed
15:18:38.3061 Info {
"message":"DataTableGetRowByIndex_Demo execution started",
"level":"Information",
"logType":"Default",
"timeStamp":"2023-02-07T15:18:38.3025574+08:00",
"fingerprint":"397edf7a-cc8f-4040-ac1b-74431c48f158",
"windowsIdentity":"DESKTOP-OMS4RCP\\Hinoki",
"machineName":"DESKTOP-OMS4RCP",
"fileName":"Main",
"initiatedBy":"Studio",
"processName":"DataTableGetRowByIndex_Demo",
"processVersion":"1.0.0",
"jobId":"c76c5a06-47d8-4a5c-bfad-3843c63e1e15",
"robotName":"[email protected]",
"machineId":2152810,
"organizationUnitId":3103367
}
Running log
15:18:39.5066 Info {
"message":"System.Object[]",
"level":"Information",
"logType":"User",
"timeStamp":"2023-02-07T15:18:39.5062909+08:00",
"fingerprint":"3db02657-225d-42ce-b261-302e3a7e7239",
"windowsIdentity":"DESKTOP-OMS4RCP\\Hinoki",
"machineName":"DESKTOP-OMS4RCP",
"fileName":"Main",
"processName":"DataTableGetRowByIndex_Demo",
"processVersion":"1.0.0",
"jobId":"c76c5a06-47d8-4a5c-bfad-3843c63e1e15",
"robotName":"[email protected]",
"machineId":2152810,
"organizationUnitId":3103367
}
Ended log
15:18:39.5130 Info {
"message":"DataTableGetRowByIndex_Demo execution ended",
"level":"Information",
"logType":"Default",
"timeStamp":"2023-02-07T15:18:39.5121342+08:00",
"fingerprint":"ff900fc1-e765-443a-9697-06807221ec1a",
"windowsIdentity":"DESKTOP-OMS4RCP\\Hinoki",
"machineName":"DESKTOP-OMS4RCP",
"fileName":"Main",
"totalExecutionTimeInSeconds":1,
"totalExecutionTime":"00:00:01",
"processName":"DataTableGetRowByIndex_Demo",
"processVersion":"1.0.0",
"jobId":"c76c5a06-47d8-4a5c-bfad-3843c63e1e15",
"robotName":"[email protected]",
"machineId":2152810,
"organizationUnitId":3103367
}