Code Fix: There is insufficient logging for K2 workflow error diagnosis

  • 16 February 2021
  • 0 replies
  • 17 views

Badge +9
 

Code Fix: There is insufficient logging for K2 workflow error diagnosis

KB002703

PRODUCT
K2 Five 5.1
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

 

Issue Description

When you experience K2 workflow errors, there is no error logging available on the K2 HTML Designer web server.

Resolution

  1. Ensure you have K2 Five (5.1) installed.
  2. Download the K2 Five (5.1) FP22 from K2 Partner and Customer Portal.
  3. Install the K2 Five (5.1) FP22 to apply the fix.

Considerations

To ensure that logging is fully enabled the following changes need to be added to the “[INSTALLDIR]K2 Smartforms DesignerK2 workflow Designerweb.config” under <appsettings>

<add key="Logging.Enabled" value="true"/>

<add key="Logging.LogPath" value="C:Debugk2Designer.log"/>

<add key="Logging.LogSeverity" value="Debug"/>

<add key="Logging.LogStackTrace" value="true"/>

Then create a folder as is specified in the LogPath (C:Debug).
Do an iisreset.

The valid options for Log Severity are:

  • Error
  • Warning
  • Info
  • Debug

 


0 replies

Be the first to reply!

Reply