Hi All,
I need to check the ccg log for my oracle cloud connector but the ccg log file size is large. Is there any specific command to get the log? Any help would be appreciated.
Thanks,
Shantha Kumar
Hi All,
I need to check the ccg log for my oracle cloud connector but the ccg log file size is large. Is there any specific command to get the log? Any help would be appreciated.
Thanks,
Shantha Kumar
Hi @Santhakumar ,
You can use normal Linux commands like grep to do this. Something like below -
$ grep -ia “connector_name
” /path/to/ccg.log
Once you find one or two trace of logs, you can fetch the requestID from the log line and do a grep on the requestID to get the specific transaction
$ grep -ia “requestID
” /path/to/ccg.log
Thanks,
Shailee
Hi Shantha, in addition to Shailee, you can also use less ccg.log, and find your key workds with “/wordtosearch”. Then, use n key to find next and ctrl+n for going backard.
If you have memory, you can download ccg.log, and open it with visual studio code. As ccg.log is JSON, you can select all, and copy into a json file in VSC, ritght click and select to format document. It will dislpay as a json file.
Thanks @shaileeM It worked for my scenario
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.