From e3693aac913e67241787b76676b64e0d296c1f21 Mon Sep 17 00:00:00 2001 From: Rutam Prita Mishra Date: Tue, 17 Oct 2023 19:59:19 +0530 Subject: [PATCH] [DOC-6594]: Help Wanted: Update Mobile Troubleshooting Docs (#6706) * [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) <74422101+cwarnermm@users.noreply.github.com> * Added addition info for notifications.log file * Update source/deploy/mobile-faq.rst * Updated review suggestions --------- Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> --- source/deploy/mobile-faq.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/deploy/mobile-faq.rst b/source/deploy/mobile-faq.rst index ef32f9c69ec..581363ff058 100644 --- a/source/deploy/mobile-faq.rst +++ b/source/deploy/mobile-faq.rst @@ -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 `__ 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. +