cancel
Showing results for 
Search instead for 
Did you mean: 

How to add logging to web scripts

edx_i
Champ in-the-making
Champ in-the-making
Hi,

I have a web script that runs a lucene query and would like to print out the query. How to add it to the catalina.out log? I already have

log4j.logger.org.springframework.extensions.webscripts=debug
log4j.logger.org.alfresco.repo.web.scripts=debug

in alfresco's log4j.properties.

The web scripts are written in javascript.
1 REPLY 1

edx_i
Champ in-the-making
Champ in-the-making
I found an example web script with logger.log and changed repo.jscript.ScriptLogger logging level to debug. Well documented  :?