Hi,
I have deployed jira data center 8.5 using 2 nodes. In each, i have mentioned the parameter "jira.node.id" in cluster.properties.
The local log file doesn't mention the node id which may complicate troubleshooting while consolidating both log files.
1- How can I add the node id in the log file?
2- Can I trace all inputs in one log file in shared home?
Many thanks
Ahmed
I added
“-Djira.node.id=node1”
as an additional JVM_ARGS in setenv.sh because log4j cannot access cluster.properties but can read the system variables.
Then enter the following in the pattern in the log4j2.xml configuration:
${sys:jira.node.id}
Restart the server once and it should work.
Hi Community,
Was it feasible to add nodeId in jira log files?
Thanks
Ahmed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.