Page 1 of 1

Send log messages from Servoy to Slack using the SlackAppend

PostPosted: Fri May 20, 2016 10:59 am
by pbakker
Hi,

If you weren't at ServoyCamp '16, we'd like to make you aware of the ability to forward log messages from Servoy to[url=slack.com]Slack[/url] using the SlackAppender.

This free and open source 'appender' for the log mechanism used by Servoy allows you to forward logmessages written to the Servoy log file to a channel in Slack.You control which log messages get send to which channel, so you could use it to forward only errors or both errors and warnings to Slack.

One of the use-cases for this might be a staging server where your UAT team test a release before putting it in production. If any errors are produced during the testing, you'd get notified of that through Slack directly, without having to check the logs.

This is not something we consider to fully replace proper monitoring of Servoy Application Servers, but is a nifty little extra on your belt of tools to make your life a little easier.

We'd welcome your feedback1

Paul
The Orange dots

Re: Send log messages from Servoy to Slack using the SlackAp

PostPosted: Sat May 21, 2016 4:12 pm
by jasantana
Thanks Paul. Great contribution!!

Re: Send log messages from Servoy to Slack using the SlackAp

PostPosted: Sun May 22, 2016 8:49 am
by Gordon McLean
jasantana wrote:Thanks Paul. Great contribution!!


+1

Re: Send log messages from Servoy to Slack using the SlackAp

PostPosted: Wed Jun 22, 2016 3:33 pm
by Gordon McLean
Sending messages to Slack using the Servoy log is a great tool and I strongly recommend any developers who are not using this to look again.

Don't limit yourself to the log appender either as Slack is a brilliant notification service that can be used anywhere within a Servoy solution. As an example you could use it to notify users when Orders are received, or to send messages out of hours using the headless client, the possibilities are endless and its free.

To set this up you need to register for an API key with Slack, create an http post and send your message to a specific channel along with an optional icon. A great, free notification resource that is super versatile.

Thanks again Paul - nice job !!