Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help Wanted: Document how to use tail and jq to parse plugin and App framework logs #1197

Open
mm-cloud-bot opened this issue Jan 17, 2023 · 3 comments

Comments

@mm-cloud-bot
Copy link

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._
@cwarnermm
Copy link
Member

@asatkinson - Do you have a resource available to help draft a dev docs update to address this request?

@cwarnermm cwarnermm changed the title Request for Documentation: Document how to use tail and jq to parse plugin and App framework logs Help Wanted: Document how to use tail and jq to parse plugin and App framework logs Feb 1, 2023
@cwarnermm cwarnermm added Help Wanted Community help wanted Up For Grabs labels Feb 1, 2023
@Rutam21
Copy link
Contributor

Rutam21 commented Feb 1, 2024

@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

@mickmister
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants