Skip to Main Content

GoldenGate

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

When do you use restapi.log in <deployment_dir>/var/log?

GoldenGate diligently records into restapi.log in <deployment_dir>/var/log its web console actions (if I interpret the content right). Did anybody ever find this content useful in troubleshooting? In what circumstance? Thanks.
For example, mine is like

2021-08-03 09:37:20.472-0500 INFO |RestAPI.distsrvr                   | Request #386279: {
                                                                            "context": {
                                                                                "httpContextKey": 140517282996064,
                                                                                "verbId": 2,
                                                                                "verb": "GET",
                                                                                "originalVerb": "GET",
                                                                                "uri": "/services/v2/sources",
                                                                                "protocol": "http",
                                                                                "headers": {
                                                                                    "Accept": "application/json",
                                                                                    "Authorization": "** Masked **",
                                                                                    "Cookie": "** Masked **",
                                                                                    "User-Agent": "Java/1.8.0_231",
                                                                                    "Host": "[our host]:9102",
                                                                                    "Connection": "keep-alive"
                                                                                },
                                                                                "host": "[our host]:9102",

...
                                                                        Response: {
                                                                            "context": {
                                                                                "httpContextKey": 140517282996064,
                                                                                "requestId": 781838,
                                                                                "code": "200 OK",
                                                                                "headers": {

...
This post has been answered by ORASCN on Sep 1 2021
Jump to Answer
Comments
Post Details
Added on Aug 3 2021
1 comment
60 views