Fórum

Log Level in Cluster setup

thumbnail
Loïc Dumont, modificado 11 Anos atrás.

Log Level in Cluster setup

Junior Member Postagens: 43 Data de Entrada: 27/04/10 Postagens Recentes
We have a cluster of two nodes with multiple portal instances. At the moment I don't have direct access to a chosen node, so I cannot target any node, the loadbalancer decides for me.

I was playing with log levels recently and correct me if I'm wrong, but If you change the loglevel it only applies to the node you are currently on?

So because we have multiple portal instances when testing I may target the node where the log level was not changed.

Is there a way to change log level on every node (whithout rebooting or changing the log config files)?

Thanks for any answer
thumbnail
David H Nebinger, modificado 11 Anos atrás.

RE: Log Level in Cluster setup (Resposta)

Liferay Legend Postagens: 14916 Data de Entrada: 02/09/06 Postagens Recentes
Loïc Dumont:
If you change the loglevel it only applies to the node you are currently on?


Correct. Logging is an instance-only change and changes will not be reflected in the cluster.

Is there a way to change log level on every node (whithout rebooting or changing the log config files)?


Nope. You'd have to roll your own implementation.
thumbnail
Loïc Dumont, modificado 11 Anos atrás.

RE: Log Level in Cluster setup

Junior Member Postagens: 43 Data de Entrada: 27/04/10 Postagens Recentes
Mmmh okay thanks, I will ask the IT to open direct access to nodes...