Foren

Log Level in Cluster setup

thumbnail
Loïc Dumont, geändert vor 11 Jahren.

Log Level in Cluster setup

Junior Member Beiträge: 43 Beitrittsdatum: 27.04.10 Neueste Beiträge
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, geändert vor 11 Jahren.

RE: Log Level in Cluster setup (Antwort)

Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
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, geändert vor 11 Jahren.

RE: Log Level in Cluster setup

Junior Member Beiträge: 43 Beitrittsdatum: 27.04.10 Neueste Beiträge
Mmmh okay thanks, I will ask the IT to open direct access to nodes...