The get-log-levels command returns the list of component logs and their current levels.
./bdd-admin.sh get-log-levels [option <arg>]
get-log-levels supports the following options.
Option | Description |
---|---|
-c, --component <component(s)> | A comma-separated list of the components to
run on:
Note the following:
|
-n, --node <hostname(s)> | A comma-separated list of the nodes to run on. Each must be defined in $BDD_HOME/BDD_manager/conf/bdd.conf. |
If no options are specified, the script returns the current log levels for all supported components.
[2015/06/01 22:36:24 -0400] [Admin Server] Retrieving log levels... [2015/06/01 22:36:30 -0400] [web009.us.example.com] Retrieving Dgraph Gateway log level.......Success! Gateway : WARNING [2015/06/01 22:36:33 -0400] [web009.us.example.com] Retrieving DP log level.......Success! DP : INCIDENT_ERROR [2015/06/01 22:36:45 -0400] [web009.us.example.com] Retrieving Dgraph log levels.......Success! All Dgraph log subsystems: background_merging : ERROR bulk_ingest : ERROR cluster : WARNING database : ERROR datalayer : ERROR dgraph : ERROR eql : ERROR eql_feature : TRACE eve : WARNING http : ERROR lexer : ERROR splitting : ERROR ssl : ERROR task_scheduler : ERROR text_search_rel_rank : ERROR text_search_spelling : ERROR update : ERROR workload_manager : ERROR ws_request : ERROR xq_web_service : ERROR [2015/06/01 22:36:49 -0400] [Admin Server] Successfully retrieved all log levels.
./bdd-admin.sh get-log-levels
./bdd-admin.sh get-log-levels -c gateway -n web009.us.example.com