Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Loïc Dumont
Log Level in Cluster setup
August 22, 2012 3:04 AM
Answer

Loïc Dumont

Rank: Junior Member

Posts: 43

Join Date: April 27, 2010

Recent Posts

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
David H Nebinger
RE: Log Level in Cluster setup
August 22, 2012 5:16 AM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11047

Join Date: September 1, 2006

Recent Posts

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.
Loïc Dumont
RE: Log Level in Cluster setup
August 22, 2012 5:37 AM
Answer

Loïc Dumont

Rank: Junior Member

Posts: 43

Join Date: April 27, 2010

Recent Posts

Mmmh okay thanks, I will ask the IT to open direct access to nodes...