Skip to content

Commit

Permalink
[DOC-6594]: Help Wanted: Update Mobile Troubleshooting Docs (#6706)
Browse files Browse the repository at this point in the history
* [DOC-6594]: Help Wanted: Update Mobile Troubleshooting Docs

This commit adds a new section in the Mobile FAQ page that answers the following question.

```bash
Where can I find mobile message notification logs?
```

* Removed new line space.

* Update source/deploy/mobile-faq.rst

Co-authored-by: Carrie Warner (Mattermost) <[email protected]>

* Added addition info for notifications.log file

* Update source/deploy/mobile-faq.rst

* Updated review suggestions

---------

Co-authored-by: Carrie Warner (Mattermost) <[email protected]>
  • Loading branch information
Rutam21 and cwarnermm authored Oct 17, 2023
1 parent 0a7d3a6 commit e3693aa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions source/deploy/mobile-faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -372,3 +372,13 @@ In these scenarios, the ``login`` audit log won't have the ``deviceId``, and the
If the app receives the ``deviceId`` later, the device will send the new ``deviceId`` to the server, generating an ``attachDeviceId`` audit log, and adding the ``deviceId`` to the session data in the database.

Since the ``deviceId`` relates to the application, connections through the web browser, even on mobile, won't have a ``deviceID``.

Where can I find mobile message notification logs?
-------------------------------------------------------------
Notification messages are logged to the ``notifications.log`` file.
System admins must enable notification logs in the ``config.json`` file by setting ``EnableFile`` to ``true``, and specifying an optional file location via ``FileLocation``. When no location is configured, the ``notifications.log`` file is stored in the default Mattermost directory. See the `logging configuration settings <https://docs.mattermost.com/configure/environment-configuration-settings.html#logging>`__ documentation for details.

The team members / users can access their notification logs based on their device platform.
Android users can view the logs using ``logcat``.
iOS users can acess the logs in the ``console app`` on their MacOS.

0 comments on commit e3693aa

Please sign in to comment.