AnsweredAssumed Answered

Javascript Logging in WebQuickStart

Question asked by simon.white on Jun 2, 2011
Latest reply on Jun 2, 2011 by bremmington
Hi everyone,

Can anyone help me work out how to turn Javascript logging on in wcmqs?

On the assumption that the logger is the same class used by Share, I've tried editing log4j.xml and adding:

        <logger name="org.springframework.extensions.webscripts.ScriptLogger">
                <level value="debug"/>

..but this doesn't seem to work.  Alfresco runs past my logger.log statements quite happily, so clearly logging is available. 

I'll have a beaver through the source and see if I can find out which class is bound to "logger" in the .js but suspect this is as per Spring Surf, which means the class above should be the right one.

Thanks in advance,