K2 blackpearl Product Documentation: Installation and Configuration Guide
Enable K2 Logging

On the K2 Server, you can enable detailed logging options to help with debugging. To turn on the detailed logging, follow the below steps:

  1. Open %programfiles%\k2 blackpearl\Host Server\Bin\HostServerLogging.config with a text editor
  2. Change
         <add key="IncludeStackTrace" value="False" />
    to
         <add key="IncludeStackTrace" value="True" />
  3. Change
         <LogLocation Name="ConsoleExtension" Active="True" LogLevel="Info" />
    to
         <LogLocation Name="ConsoleExtension" Active="True" LogLevel="Debug" />
  4. Change
         <LogLocation Name="FileExtension" Active="False" LogLevel="All" />
    to
         <LogLocation Name="FileExtension" Active="True" LogLevel="All" />    
  5. Save your changes to the config file

The K2 Service will need to be restarted in order for this change to take affect. You can see the detailed logging by running the K2 Server in console mode.

To run in console mode, perform the following steps:

  1. Open the Services manager (Start > All Programs > Administrative Tools > Services)
  2. Scroll down to the K2 blackpearl Server service, select it and click the Stop Service button
  3. Once the service shows as stopped, you can close the Services manager
  4. Right-click on the K2 blackpearl Server item in the Start menu (under Start > All Programs > K2 blackpearl) and select Run as...
  5. Select The following user option, and type in the domain\K2 Service Account as the User Name and password, and click OK

 

 


K2 blackpearl Product Documentation: Installation and Configuration Guide 4.6.10