Retrieve Log
get
/services/{version}/replicats/{replicat}/info/logs/{log}
Required Role: Administrator
Retrieve a log from the replicat process.
Request
Path Parameters
-
log(required): string
Minimum Length:
5
Maximum Length:14
Pattern:^[A-Z_$][A-Z0-9_$]{0,7}[-]{0,1}[1-9]{0,1}?[.](log)$
The name of the log, which is the replicat name, followed by an optional revision number(as -number) and '.log'
-
replicat(required): string
Minimum Length:
1
Maximum Length:8
Pattern:^[A-Z_$][A-Z0-9_$]*$
The name of the replicat. Replicat names are upper case, begin with an alphabetic character followed by up to seven alpha-numeric characters.
-
version(required): string
Oracle GoldenGate Service API version.
Allowed Values:[ "v2" ]
Response
Supported Media Types
- application/json
- text/plain
200 Response
Log retrieved successfully.
Root Schema : Oracle GoldenGate Process Report
Type:
object
Title:
Oracle GoldenGate Process Report
Process Report
Show Source
-
$schema:
Allowed Values:
[ "ogg:report" ]
-
lines(required):
array lines
Minimum Number of Items:
0
Maximum Number of Items:100000
Nested Schema : lines
Type:
array
Minimum Number of Items:
0
Maximum Number of Items:
Show Source
100000
-
Array of:
string
Minimum Length:
0
Maximum Length:4095
Example Response (application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"href":"http://localhost:11001/services/v2/replicats/REP2/info/logs/REP2.log",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:11001/services/v2/replicats/REP2/info/logs/REP2.log",
"mediaType":"application/json",
"rel":"self"
},
{
"href":"http://localhost:11001/services/v2/metadata-catalog/replicatLog",
"mediaType":"application/schema+json",
"rel":"describedby"
}
],
"messages":[
],
"response":{
"$schema":"ogg:log",
"lines":[
"",
"INFO 2019-06-11 03:39:38.000375 [main] - Starting Java user-exit",
"INFO 2019-06-11 03:39:40.000111 [main] - Loading configuration from properties file: GGS_USEREXIT_CONF='dirprm/cass.props' (Java system property (set to file path))",
"INFO 2019-06-11 03:39:40.000111 [main] - Adding to classpath, gg.dirprm=./dirprm (GoldenGate Parameter Directory)",
"INFO 2019-06-11 03:39:40.000112 [main] - Adding to classpath, gg.home=. (GoldenGate Installation Directory)",
"INFO 2019-06-11 03:39:40.000112 [main] - Adding to classpath, gg.classpath=/scratch/sabbabu/ggsci/12.3.2.New/thirdparty/cass/*:/scratch/sabbabu/ggsci/12.3.2.New/thirdparty/cass/lib/* (Additional runtime classpath setting)",
"INFO 2019-06-11 03:39:40.000953 [main] - ",
"***********************************************************************",
"Oracle GoldenGate for Big Data, 12.3.2.1.1.005",
"Copyright (c) 2007, 2018. Oracle and/or its affiliates. All rights reserved",
"Built with Java 1.8.0_161 (class version: 52.0)",
"***********************************************************************",
"INFO 2019-06-11 03:39:41.000353 [main] - Memory at Initialization : Max: 455.50 MB, Total: 92.50 MB, Free: 71.62 MB, Used: 20.88 MB",
"INFO 2019-06-11 03:39:41.000396 [main] - Setting handler=cassandra: retry policy defaults. Startup policy: Retry policy: enableRetry=true, numRetry=0, exponentialDelay=no, retryDelayMS=0; Runtime policy:Retry policy: enableRetry=true, numRetry=0, exponentialDelay=no, retryDelayMS=0"
]
}
}