logs for upload document Restfull service

cancel
Showing results for 
Search instead for 
Did you mean: 
brijeshnk
Established Member

logs for upload document Restfull service

Hi there ,

I am uplaoidng document using following  RestFull service API . 

http://<IP>:8080/alfresco/service/api/upload

In which  logs file , i can  see  incoming / outgoing messages on server . I verified alfresco.log its not visible there

Is there any specific  parameter to be enabled in config to log incoming and outgoing messages in logs ?

 

thanks

Brijesh N K

3 Replies
EddieMay
Alfresco Employee

Re: logs for upload document Restfull service

Hi @brijeshnk,

You can turn on debug using log4j.logger.org.alfresco.rest 

HTH

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
brijeshnk
Established Member

Re: logs for upload document Restfull service

I just added this comment under

..\alfresco-content-services\tomcat\webapps\alfresco\WEB-INF\classes\log\log4j.properties  .

 

Hope this will log all the incoming / outgoing  REST API calls in alfresco.log file

 

thanks a lot , will implement and confirm

brijeshnk
Established Member

Re: logs for upload document Restfull service

 I just executed , nothing is printed in alfresco.log . following is screen shot from POSTMAN.   Response message is success . I was expecting payload to be printed in alfresco.log .

log4j.propertites screen shot

image.png

 

 

image.png

log4j.properties  screenshot