Shared logfiles in Deployment Groups

11 views
Skip to first unread message

Håkon Herskedal

unread,
May 14, 2019, 6:26:53 AM5/14/19
to Payara Forum
Hi!

I just switched from glassfish to Payara, and so far am wery pleased!

For the first time, we deployed two instances into a deployment group, and everything seems to be woriking fine.
But i was hoping there would be some way to make bort instances share logfiles. We ouput our logging to payara, hence i ends up in Server.log for both of the nodes, but is only available on the server that you are actuallu connected to at the moment, which may wary from time to time.
Is there any way to share the logfile for the entire deployment group?


Best regards
Håkon Herskedal
Norway

Rudy De Busscher

unread,
Jun 3, 2019, 5:06:57 AM6/3/19
to Payara Forum
Hi Håkon,

Writing to a single file from different processes give locking issues.

So you should investigate some centralised logging system (like ELK stack) if you want to aggregate your logs.

regards
Rudy
Reply all
Reply to author
Forward
0 new messages