You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by Goutam Tadi <gt...@pivotal.io> on 2016/10/04 16:33:13 UTC

How to change log level

Hi Community,

How can one change the "log-level" of servers (already running) in geode
cluster. Can we change it through gemfire.properties ?

Thanks,
Goutam Tadi.
-- 
Regards,
*Goutam Tadi.*

Re: How to change log level

Posted by Goutam Tadi <gt...@pivotal.io>.
Thanks for the info.

On Tue, Oct 4, 2016 at 9:53 AM John Blum <jb...@pivotal.io> wrote:

> Hi Goutam-
>
> > Can we change it through gemfire.properties ?
>
> No
>
> However, you can use the *Gfsh* 'alter runtime' command, for instance...
>
> gfsh>alter runtime --log-level=config
>
> If you just want to change a specific members log-level then...
>
> gfsh>alter runtime --log-level=config --member=Server1
>
> The 'member' option takes the "name" of the member that you used on startup
> (e.g. 'start server --name=Server1').
>
> See the documentation (
>
> http://geode.docs.pivotal.io/docs/tools_modules/gfsh/command-pages/alter.html#topic_7E6B7E1B972D4F418CB45354D1089C2B
> )
> for more details.
>
>
> Cheers,
> John
>
>
> On Tue, Oct 4, 2016 at 9:33 AM, Goutam Tadi <gt...@pivotal.io> wrote:
>
> > Hi Community,
> >
> > How can one change the "log-level" of servers (already running) in geode
> > cluster. Can we change it through gemfire.properties ?
> >
> > Thanks,
> > Goutam Tadi.
> > --
> > Regards,
> > *Goutam Tadi.*
> >
>
>
>
> --
> -John
> 503-504-8657
> john.blum10101 (skype)
>
-- 
Regards,
*Goutam Tadi.*

Re: How to change log level

Posted by John Blum <jb...@pivotal.io>.
Hi Goutam-

> Can we change it through gemfire.properties ?

No

However, you can use the *Gfsh* 'alter runtime' command, for instance...

gfsh>alter runtime --log-level=config

If you just want to change a specific members log-level then...

gfsh>alter runtime --log-level=config --member=Server1

The 'member' option takes the "name" of the member that you used on startup
(e.g. 'start server --name=Server1').

See the documentation (
http://geode.docs.pivotal.io/docs/tools_modules/gfsh/command-pages/alter.html#topic_7E6B7E1B972D4F418CB45354D1089C2B)
for more details.


Cheers,
John


On Tue, Oct 4, 2016 at 9:33 AM, Goutam Tadi <gt...@pivotal.io> wrote:

> Hi Community,
>
> How can one change the "log-level" of servers (already running) in geode
> cluster. Can we change it through gemfire.properties ?
>
> Thanks,
> Goutam Tadi.
> --
> Regards,
> *Goutam Tadi.*
>



-- 
-John
503-504-8657
john.blum10101 (skype)