cloud-barista / cb-spider

CB-Spider offers a unified view and interface for multi-cloud management.
https://github.com/cloud-barista/cb-spider/wiki
Apache License 2.0
31 stars 47 forks source link

Need to add a new logger and mechanism for calling history of CSP & VM #295

Closed powerkimhub closed 3 years ago

powerkimhub commented 3 years ago
powerkimhub commented 3 years ago
powerkimhub commented 3 years ago

개략 설계

[call-log pkg source 위치]

[log 설정 파일 위치]

[log 출력 위치]

powerkimhub commented 3 years ago

Call Log 개발 완료 및 시험 방법

ref) https://github.com/cloud-barista/cb-spider/commit/53da93e7070deac47c5ef047fc96ad577ea5df2b

powerkimhub commented 3 years ago

HisCall 개발/시험을 위한 Gen4Test 제공

- Gen4Test

- 실행 방법

- Call log 파일 생성 위치

- Call log 출력 예시


[HISCALL].[129.254.184.79] 2020-09-23 22:20:24 (Wednesday) main.main():44 - "CloudOS" : "AZURE", "RegionZone" : "azure-region2/zone-2", "ResourceType" : "VMKEYPAIR", "ResourceName" : "vmkeypair-4", "ElapsedTime" : "0.0712", "ErrorMSG" : ""
[HISCALL].[129.254.184.79] 2020-09-23 22:20:25 (Wednesday) main.main():44 - "CloudOS" : "GCP", "RegionZone" : "gcp-region1/zone-1", "ResourceType" : "SECURITYGROUP", "ResourceName" : "securitygroup-3", "ElapsedTime" : "0.7192", "ErrorMSG" : ""
powerkimhub commented 3 years ago

Completed.

ref) https://github.com/cloud-barista/cb-spider/commit/bc853c31c0d287d3897e98c9f4ca23854b967251