How to change ES 5.2 log names in log4j 2 config?

Hi,

I'm trying to get the ES log file names to contain the node name.

I checked various documentations but couldn't find anything in the 5.2 docs. Also tried various es.logs.* combinations found in other the docs but they don't seem to work.

Many thanks for your help,

Hi Elastic Team,

Could you please advise on this?

According to the 5.x documentation: https://www.elastic.co/guide/en/elasticsearch/reference/5.x/settings.html#logging setting this should work ${sys:es.logs.node_name} (if the node name is explicitly set via node.name) however it doesn't in 5.2.

In the current documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html#logging it doesn't mention anything about naming the log files based on node names.

In the upcoming changes doc: https://www.elastic.co/guide/en/elasticsearch/reference/5.x/breaking-changes-5.3.html it mentions about sys:es.logs.node_name which is the same as the first link so I guess the feature is not available in 5.2 and will only become available in 5.3?

Cheers,

Correct. The first version that feature will be available in is 5.3.0.

Awesome, many thanks for the confirmation.

By the way, any rough timelines for when 5.3 gonna be out?

I'm terribly sorry, but we do not provide release timelines.

No worries, many thanks for the reply.

You're very welcome.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.