How to enable logging to investigate a issue in PX

Hi

 

I am new to Agile PLM PX. Have written a sample px and is not working as expected..How can we enable logging , i mean in the Java code so that we know what might be theissue.

 

Tried putting a string in ActionResult, but not of much help.

 

Thanks in advance.

Agile User Asked on September 21, 2020 in Software Development Kit (API).
Add Comment
1 Answer(s)

Hello

Using log4j was working until 9.3.6. Currently, we just put System out and splunk the server logs to debug issues

Not elegant, but works. Hope this helps

– Raj

 

Agile Angel Answered on September 22, 2020.

Thanks for the reply. Can you let me know the location of the server log for the PC domain.

Was checking directories under AgileDomain/servers/<hostname>logs,after putting  system out in px code,but couldn’t find the intended string in that .

 

Thanks

on September 24, 2020.

Hello

Try directly under agileDomain/log. It is mostly how your admins set it up during installation. We find our System outs in this directory

– Raj

on September 25, 2020.

Thanks for the reply.

on October 5, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.