Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Issue in logging custom events to PegaRULES-SecurityEvent.log



When passing a value with special characters (such as, a"b), unable to log custom events to the PegaRULES-SecurityEvent.log where the JavaScript Object Notation (JSON) syntax is not present.

Error Messages

not logging valid JSON

Steps to Reproduce

  1. Create an activity with a Java step to log custom events
  2. Run the activity through an agent
  3. Pass the parameters containing special characters in the middle of a string as per the document
  4. Verify the EventSecurity log

Root Cause

A defect in Pegasystems’ code or rules. Special characters in the security log corrupted the JSON format in the Pega Security event log.


Apply HFix-49932.


Published January 31, 2019 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us