November 2017
Beginner to intermediate
290 pages
7h 34m
English
Apex provides the ability to query and change log levels at runtime. The commands aren't part of the CLI yet, so we can use this opportunity to show how the AM web service can be accessed via curl:
apex@apex-sandbox:~$ curl http://apex-sandbox:8088/proxy/application_1490233572332_0003/ws/v2/stram/loggers/
{"loggers":[]}
The preceding request reaches the AM web service through the RM proxy. The corresponding direct AM URL can be derived by obtaining the AM web service port via the CLI get-app-info response (for example, "appMasterTrackingUrl":"apex-sandbox:39809"):
apex@apex-sandbox:~$ curl http://apex-sandbox:39809/ws/v2/stram/loggers/
{"loggers":[]}
Sometimes, it is very useful to be able to change ...
Read now
Unlock full access