Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Uipath old version log parsing failed #5

Closed
HinokiSu opened this issue Feb 13, 2023 · 0 comments · Fixed by #6
Closed

[Bug]: Uipath old version log parsing failed #5

HinokiSu opened this issue Feb 13, 2023 · 0 comments · Fixed by #6
Labels
bug Something isn't working

Comments

@HinokiSu
Copy link
Owner

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

  • Started log
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"
}
  • Running log
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"
}
  • Ended log
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":"example@gmail.com-attended",
"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":"example@gmail.com-attended",
"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":"example@gmail.com-attended",
"machineId":2152810,
"organizationUnitId":3103367
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant