cancel
Showing results for 
Search instead for 
Did you mean: 

Logging from Share javascript

nilsw
Champ in-the-making
Champ in-the-making
What log4j target do I need to debug enable in order to use logging from Share javascript? I have implemented a custom action in the document library toolbar (toolbar.js) in community edition 3.1 and need to check some data.

I can see that Alfresco.logger.debug is a function, but I haven't managed to get any logging yet.

I tried setting

Alfresco.constants.DEBUG = true;

but that didn't make any difference.
2 REPLIES 2

mikeh
Star Contributor
Star Contributor
For v3.1, logging messages should show up in Firebug's console.

Thanks,
Mike

nilsw
Champ in-the-making
Champ in-the-making
Thanks! I had got the (entirely incorrect) impression that client-side javascript logging was posted to the server.