Logging from Share javascript

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2009 03:09 PM
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
but that didn't make any difference.
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.
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2009 04:04 PM
For v3.1, logging messages should show up in Firebug's console.
Thanks,
Mike
Thanks,
Mike

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2009 02:28 AM
Thanks! I had got the (entirely incorrect) impression that client-side javascript logging was posted to the server.
