• Anonymous
  • Login
  • Register
XPages OpenLog Logger

Owners Paul S Withers Project Creation Mar 4, 2013
Contributors Nathan T Freeman Last Release Mar 5, 2013
Downloads 104Download latest release
Rating
(0 ratings)
Description OpenLog Class for use from SSJS or Java


This project provides code to generate OpenLog errors and events from SSJS or Java. Significant benefits of the project are:

  • The code can reside in an NSF itself or can be deployed to the server as an extension library (OSGi plugin).
  • Providing a custom error page is in use in the application, uncaught SSJS errors (i.e. errors where you don't have a try/catch block) will also be logged.
  • Flexible APIs for caught errors from SSJS.
  • Efficient logging from SSJS - all logging is done in the render response phase and if the same SSJS error / event is triggered multiple times during the JSF lifecycle, it will only be processed once.
  • Static methods for Java access, so no need to create an object before calling the code.
  • YouTube video to show how to implement it http://www.youtube.com/watch?v=mbZ8vamCNpE.

Thanks to Nathan Freeman, Tim Tripcony, Rene Winkelmeyer, Toby Samples for helping point me in the right direction on some technical difficulties.

Thanks, Nathan, for suggesting falling back to notes.ini.

Thanks, Mark Leusink, for pointing me in the direction of code in XPage Debug Toolbar project to access SSJS error line numbers etc, but fortunately I found out how to find the relevant properties from the underlying Java class, so took a different route.

Nathan is listed as a contributor because of his work on refactoring the original Java classes used for XPages Help Application that provided a starting point for this project.



Projects can have short and readable URLs, e.g. http://mobilecontrols.openntf.org.

You can request a short URL to your project by sending a mail to support at openntf dot org.
Owners are the people with maximal rights. For example they can create releases and add more contributors.

In order to define multiple owners use "," (comma) as separator.

Because of data privacy you cannot lookup other people's names but you have to type them in.
Enter the contributors or owners here who you want to receive notifications and questions by email.

In order to define multiple owners use "," (comma) as separator.

Because of data privacy you cannot lookup other people's names but you have to type them in.
In addition to the owners additional OpenNTF contributors have to be listed here. Contributors don't have the same access rights as owners, e.g. they cannot create releases.

In order to define multiple owners use "," (comma) as separator.

Because of data privacy you cannot lookup other people's names but you have to type them in.
Enter a short description of the project here (up to 100 characters).

The short description shows up in the project UI and in some of the views.
In this field you should enter a more detailed description of your project.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.
A Catalog Release is for projects that are production ready and that are end-user "install friendly".

This property describes whether any release of this project has been added to the catalog.

Learn more about the catalog.
GitHub can be used as source control repository for OpenNTF projects. In this case the Issues from GitHub are used instead of the Defects from OpenNTF.

Contact ip-manager@openntf if you want to have a GitHub project created in the OpenNTF space.

Learn more about OpenNTF on GitHub