change loglevel

Changes the logging level on specified members. This command takes effect if the default Tanzu GemFire logging configuration is used.

When using a custom Log4J configuration, this command takes effect only if the member whose logging level you want to change was started using the --J=-Dgeode.LOG_LEVEL_UPDATE_OCCURS=ALWAYS system property.

Availability: Online. You must be connected in gfsh to a JMX Manager member to use this command.


change loglevel --loglevel=value [--members=value(,value)*] [--groups=value(,value)*]

Table 1. Change Loglevel Parameters
Name Description Default Value
--members Name or ID of one or more member(s) whose logging level you want to change.  
--groups One or more group names. The logging level changes for all members of these groups.  
--loglevel Required. Log level to change. Valid options are: ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF.  

Table 1. Change Loglevel Parameters

Example Commands:

gfsh>change loglevel --loglevel=DEBUG --members=server1

Sample Output:

gfsh>change loglevel --loglevel=DEBUG --members=server1


                Member            | Changed log-level
--------------------------------- | -----------------<v1>:24653 | true