Error Logging Question

  • 12 December 2009
  • 2 replies
  • 0 views

Badge +5

I have a application that is succesfully launching a process, however once started an error has occurred based on looking at the instance of the process within the K2 Workspace.  The problem is that the K2 workspace has very limited information on the error.  I have checked the hostserverin folder on the K2 server but nothing new appears to be getting logged and EventViewer has no K2 logs at all.  I have checked the HostServerLogging.config file and all appears to be set correctly with FileExtension and EventLogExtension both set to All. 


Is there anything else I should be checking in order to get the full error?


2 replies

Badge +8

Apart from the LogLevel, the Logging should be enabled as well (Active="True"). Once that is set (restart of the K2 Service is required), you can retry the error and the stack trace will be logged to the K2 log file. 

Badge +8

Be advised if you update values to True in HostserverLogging it writes down all errors. It's size grows pretty fast. I would advise you to keep an eye on it and disable it after your testing.

Reply