ログの取得
get
/services/{version}/replicats/{replicat}/info/logs/{log}
必要なロール: 管理者
Replicatプロセスからログを取得します。
リクエスト
パス・パラメータ
- log(必須): string
最小長:
5
最大長:14
パターン:^[A-Z_$][A-Z0-9_$]{0,7}[-]{0,1}[1-9]{0,1}?[.](log)$
ログの名前。Replicat名の後にオプションのリビジョン番号('-番号'という形式)、および'.log'が続きます
- replicat(必須): string
最小長:
1
最大長:8
パターン:^[A-Z_$][A-Z0-9_$]*$
Replicatの名前。Replicat名は大文字で、先頭が英字、その後に英数字が最大で7文字続きます。
- version(必須): string
Oracle GoldenGateサービスのAPIバージョン。
指定できる値:[ "v2" ]
レスポンス
サポートされるメディア・タイプ
- application/json
- text/plain
200レスポンス
ログが正常に取得されました。
ルート・スキーマ: Application log properties
型:
object
タイトル:
ソースの表示
Application log properties
- $schema:
指定できる値:
[ "ogg:log" ]
- enabled(必須): boolean
レスポンスの例(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"
]
}
}