When I call any REST clients by using Ivy.rest().client(...), it will have the log with the category name [rest_client] from IVY Core. However, I want to make the log messages written into the specific log files of each services. With the same category name for all REST services like this, I could not find any way to configure in log4jconfig.xml to make it correct. If anyone have ideas to change that category name or change the log4j configuration, please help. Thanks in advance. |
I do not see an easy solution for this. As the service name is not part of the logger name. Otherwise you could easily route them into files as shown here: https://developer.axonivy.com/doc/latest/EngineGuideHtml/monitoring.html#d5e3581 What you can do:
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 29.08.2019 at 04:11
Seen: 1,972 times
Last updated: 02.09.2019 at 08:43