mattermost-developer-documentation
mattermost-developer-documentation copied to clipboard
Help Wanted: Document how to use `tail` and `jq` to parse plugin and App framework logs
Mattermost user michael.kochell from https://community.mattermost.com has requested the following be documented:
As noted in this thread [<jump to convo>](/core/pl/8k8hd3xf3bfutgfwrs9cfypafo) - https://community.mattermost.com/core/pl/8k8hd3xf3bfutgfwrs9cfypafo, we can use the commands `tail` and `jq` together to parse Mattermost logs while the server is running. We can filter out logs for the App framework using this:
```sh
tail -f mattermost.log | jq -c 'select(.plugin_id=="com.mattermost.apps")'
See the original post [here](https://community.mattermost.com/_redirect/pl/papig1g3xtrwpdrti33ug9i87e).
_This issue was generated from [Mattermost](https://mattermost.com) using the [Doc Up](https://github.com/jwilander/mattermost-plugin-docup) plugin._
@asatkinson - Do you have a resource available to help draft a dev docs update to address this request?
@cwarnermm I would like to take this up, Is there a specific Doc section that should have this documented? Please let me know and feel free to add any additional details to help me solve this. Thanks.
cc: @mickmister
Hi @Rutam21! I think adding a new section called "Development Tips" (@cwarnermm does that sound okay?) to this page makes sense https://developers.mattermost.com/integrate/apps/quickstart