Add custom logging function, update Slack message format, clean up server output.