Skip to main content

HI,

I have been working with K2 Custom logging, and for now it works for BlackPearl Server.

 

By example, if a SQL Database is offline, and i use Management to test an SmarObject connected to this database, the error is log into Blackpearl Custom Log (HostServerLOgging.config), but if i try to run the Form, the error is just show in the Client Bronwser.

 

Is there some way to catch runtime or workflow errors into custom log?

 

Hi,


 


Maybe this, there is a section in the Smartforms Runtime web.config that can be changed according to the documentation below. I would make a backup the original web.config first.


 


http://help.k2.com/onlinehelp/K2smartforms/DevRef/4.7/default.htm#web_config_Debugging.html%3FTocPath%3DConfiguration%2520Reference%7CSmartForms%2520WebSite%2520web.config%7C_____5


 



  1. Create a Debug folder on C Drive and give Everyone full control to the Debug folder.

  2. Change the value to true.


 <add key="Forms.Global.ErrorLogging.Enabled" value="false" /> <!--flip this to true-->


<add key="Forms.Global.ErrorLogging.FilePath" value="C:DebugSourceCode.Forms.Web.error" />


Reply