Hi,
is it possible wo write in the K2 Logs from custom code like a custom service broker or a assembly used in custom code event?
Does anyone know best practices or any tips for logging in such custom K2 solutions?
Thanks in advance,
Andreas
Hi,
is it possible wo write in the K2 Logs from custom code like a custom service broker or a assembly used in custom code event?
Does anyone know best practices or any tips for logging in such custom K2 solutions?
Thanks in advance,
Andreas
Hi Andreas,
I hope all is well, thank you for logging this community post. In regards to your query it may be a good idea to have a look at the following document from our developers reference on how this can be implemented.
https://help.k2.com/onlinehelp/k2blackpearl/devref/4.7/default.htm#Custom_Logging_Extension.htm
Kind regards,
Perc
Hi Perc,
thank you for your answer. As I understand the article described in the link it shows how to create a custom logger for K2 events, that normally would be logged in the K2 Log. What I would need is a to log custom events from my Service Broker into the K2 Logs.
Best regards,
Andreas
Hi Andreas,
Did you have a look at the section under deployment and registration?. Did you go through the following instructions within the document.
"Active" enables or disables the logger"LogLevel" determines the severity of the messages that will be forwarded to the logger. Available LogLevels are "All", "Debug", "Info", "Warning" and "Error"
This should then log the output from the custom service broker here.
Kind regards,
Percy
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.