AnsweredAssumed Answered

Where do I find log output from repo jscript?

Question asked by damonrand on May 5, 2011
Latest reply on Feb 15, 2012 by jpotts
Hi,

I am running Alfresco 3.4. I am trying to view log output from this js.

Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\templates\webscripts\org\alfresco\repository\forms\pickerchildren.get.js

 
 if (logger.isLoggingEnabled())
   {
      logger.log("children type = " + url.templateArgs.type);
      …….
   }

Where should I expect to see this log output writing to?

I tried modifying alfresco log4j.properties.

# Web Framework
log4j.logger.org.springframework.extensions.webscripts=info
log4j.logger.org.springframework.extensions.webscripts.ScriptLogger=warn
log4j.logger.org.springframework.extensions.webscripts.ScriptDebugger=[b]on[/b]

# Repository
log4j.logger.org.alfresco.repo.web.scripts=warn
log4j.logger.org.alfresco.repo.web.scripts.BaseWebScriptTest=info
log4j.logger.org.alfresco.repo.web.scripts.AlfrescoRhinoScriptDebugger=[b]on[/b]

I was expecting to see a Swing debugger popup on the server but nothing happened? I ticked "Allow service to interact with the desktop" under the Windows service control panel.

Damon.

Outcomes