K2 Blackpoint: Troubleshooting & error logs
By peter.stilgoe
Troubleshooting anything to do with K2 Blackpoint the 1st port of call is going through your error logs:
All logging configuration (excluding SmartObject logging) is done through the following file:
C:\Program Files\K2 blackpearl\Host Server\Bin\HostServerLogging.config
When you open the file in notepad, or any other text editor, you will see a section that looks like the following:
This section is where you can configure the various logging destinations as well as the verbosity. The default settings have only the Console destination active but you can turn on the other destinations by changing the Active property from False to True. The LogLevel property specifies the verbosity. The options are, from most verbose to least verbose, All, Debug, Info, and Error. My preference in a development environment is typically for Debug or Info as they give you enough information to be useful but not too much that you get lost. Error will only show you the errors which can be nice however usually some context is helpful. In a production environment however any log level above Error for any destination is probably overkill unless you are actively troubleshooting.
I also preference File logging as this creates a transmittable text file in the C:\Program Files\K2 blackpoint\Host Server\Bin\ directory.
Here is a brief description of the various logging destinations:
•ConsoleExtension – directs messages to the server console window. In a production environment where you are running as a service and have no need for the console output I recommend turning the console extension off as it will improve performance slightly.
•FileExtension – allows you to direct logging to text files. The App settings section in the config file even allows you to specify max file size or file durations.
•EventLogExtension – allows you to direct logging to the Windows Event Log. I typically recommend setting this to Error so that you don’t bloat your event log with standard info or debug messages.
•ArchiveExtension – allows you to use a SQL database as a repository for logging information. This is handy when you have a load balanced environment and don’t want to have to check each server’s log files individually. You can have all the servers in the NLB logging to the same database.
•MSMQExtension – allows you to log messages to the Microsoft Message Queuing system which other applications or services could monitor.
Once you have made the changes you want in the config file save your changes (you might also want to create a backup of this file just in case) and then restart the K2 blackpoint service. The new logging changes will now be in effect.
You may be overwhelmed the first time you open a text log file as there is a lot of information that is captured and browsing the log file in notepad can be daunting. What you will notice however is that the log file is comma delimited meaning that you can easily open this file in a spreadsheet application like Microsoft Excel. This gives you a way to do filtering as well as play with column width to enhance readability.
If you need more information on the logging framework there is an article here: http://kb.k2workflow.com/articles/kb000309.aspx
Source: k2underground.com
K2 Blackpoint , K2 Blackpoint Troubleshooting Share
Comments
You must be logged in to send a comment.
Tag Cloud
Recent Posts
- K2 Blackpoint K2 Blackpearl does not support single sign on authentication
- K2 4.5 Release Candidate Is Now Available
- External User Not Recieving Sharepoint Alerts
- Import Excel 2007 Spreadsheet as Sharepoint List Error Method ‘post’ of object ‘IOWSPostData’ failed
- Sharepoint 2010 User Profile Synchronization Service stuck on starting
Categories
- Access
- ACT
- Affiliate Marketing
- Analytics & Tracking
- Autodesk Inventor / Vault
- AvePoint
- BDC
- Blackberry / BES
- Business & Entrepreneurship
- Business Intelligence
- CNC
- Content Editor Webpart
- Content Query Webpart
- Document Imaging
- Document Management
- Domain Name Investing
- Email Marketing
- Enterprise Content Management
- Enterprise Search
- Firewalls
- Forms Server
- IIS
- InfoPath
- Information Architechture
- Internet Marketing
- Javascript
- JQuery
- K2 Blackpearl
- K2 Blackpoint
- Kerberos
- KnowledgeLake
- Making Money
- Microsoft Dynamics CRM
- Micross / Omnis
- Misc
- MS Exchange
- MS Office
- NHS Sharepoint
- Novell Netware
- Oracle
- Pay Per Click
- Perofrmance Tuning
- Powerpivot
- Records Management
- Relex Studio
- Sharepoint / MOSS / WSS
- Sharepoint 2010
- Sharepoint Alerts
- Sharepoint Calculated Columns
- Sharepoint Content Types
- Sharepoint Customisation
- Sharepoint Designer
- Sharepoint Errors
- Sharepoint IA
- Sharepoint Layouts
- Sharepoint Lists
- Sharepoint Lookup Columns
- Sharepoint Publishing Sites
- Sharepoint Search
- Sharepoint Security
- Sharepoint SSP
- Sharepoint Surveys
- Sharepoint Updates
- Sharepoint User Profiles
- Sharepoint Views
- Sharepoint Webparts
- Sharepoint Workflows
- SMTP
- SQL Server
- SSO
- Symantec
- Taxonomy
- Video Conferencing
- Virtualization
- Windows / Active Directory
- Windows Server 2008
- Windows Vista
- xml
Archive
- March 2010 (5)
- February 2010 (4)
- January 2010 (8)
- December 2009 (2)
- November 2009 (6)
- October 2009 (7)
- September 2009 (11)
- August 2009 (14)
- July 2009 (4)
- June 2009 (2)
- April 2009 (1)
- March 2009 (5)
- February 2009 (2)
- January 2009 (4)
- December 2008 (5)
- November 2008 (14)
- October 2008 (17)
- September 2008 (10)
- August 2008 (14)
- July 2008 (10)
- June 2008 (4)
- May 2008 (2)
- April 2008 (12)
- March 2008 (19)
- February 2008 (5)
- January 2008 (7)
- December 2007 (2)
- November 2007 (14)
- October 2007 (7)
- September 2007 (1)
- August 2007 (4)
- July 2007 (18)
- June 2007 (14)
- May 2007 (13)
- April 2007 (4)
- March 2007 (3)
- February 2007 (3)
- January 2007 (2)
- December 2006 (2)
- November 2006 (2)
- October 2006 (13)
- September 2006 (7)
- August 2006 (7)
- July 2006 (4)
- June 2006 (1)
- May 2006 (5)
- April 2006 (3)
- March 2006 (6)
- February 2006 (2)
- January 2006 (3)



January 14th, 2010

Tweets that mention K2 Blackpoint: Troubleshooting & error logs | Sharepoint, Automation & Stuff -- Topsy.com
January 14th, 2010
[...] This post was mentioned on Twitter by Pat Ramadass and TheK2Magic, TheK2Magic. TheK2Magic said: K2 Blackpoint: Troubleshooting & error logs | Sharepoint … http://bit.ly/8jVo3g [...]