For the development of API proxy using Java Callout ongoing now, slf4j in java is used, but log is output to the following files.
{APIGEE_HOME}/apigee4/var/log/apigee/message-processor/logs/system.log
And the log of Router/MessageProcessor is output in the same that is not convenient. So, we want to know how to separate the log file for java from system.log. I would appreciate your suggestion on the above requirement.
2 Likes
Hi @Toshihiro Shibamoto,
It is not possible to change the log destination only for Java callouts
If you are looking for ways to debug/troubleshoot your javacallouts, this article might help you
https://community.apigee.com/articles/5314/debuggi…
If you still need to log them into separate file, you could set variables as specified in the article above and use a MessageLogging policy to write to a different file.
Hope this helps!
Thanks,
2 Likes
@mukundha Thank you very much for the link to reference. I’ll take a look at the post and also try to manage separate log files with using Message Logging policy as you suggested. I appreciate your help.