Changes the logging level on specified members. This command takes effect if the default Geode 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.
change loglevel command applies only to the members specified, whether they are servers or locators. The change does not apply to unspecified or subsequently-added members.
Availability: Online. You must be connected in
gfsh to a JMX Manager member to use this command.
change loglevel --log-level=value [--members=value(,value)*] [--groups=value(,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.|
|--log-level||Required. Log level to change. Valid options are:
Table 1. Change Loglevel Parameters
gfsh>change loglevel --log-level=DEBUG --members=server1
gfsh>change loglevel --log-level=DEBUG --members=server1 Summary Member | Changed log-level --------------------------------- | ----------------- 192.0.2.0(server1:3060)<v1>:24653 | true