XPages OpenLog Logger v5.0.0
XPages OpenLog Logger v5.0.0
Mar 27, 2014
Apache License
688

Added three new features.

  • The openLogBean is now sessionScoped, but cleared after each request's logging. This handles issues if context.redirectToPage is used in the catch block
  • ExpireDate can be set with xsp.openlog.expireDate=30 where 30 is the number of days after today when the log should expire. If the property is not set or is non-numeric, no ExpireDate field is set.
  • When migrating existing SSJS logging or adding new SSJS logging, you can now use openLogBean.addError(e, this) regardless of whether it's from a property or an eventHandler. If this is an eventHandler, the API will automatically call this.getParent() to get the component.

NOTE: There will not be a non-ExtLib version of this release, because of overhead of supporting OpenLog code here and in OpenNTF Domino API (if you use the latter, you don't need this project).