How to add logging to web scripts
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2010 01:54 AM
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.
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.
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2010 04:21 AM
I found an example web script with logger.log and changed repo.jscript.ScriptLogger logging level to debug. Well documented :?
