Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plugin] Logs Viewer

Featured Replies

Logs Viewer puts your server's logs where you can see them: a widget on the Dashboard and a full page under Tools. It covers the system logs (syslog, dmesg, nginx, PHP, libvirt), every Docker container, every VM, the output of your User Scripts, and any log file of your own under /var/log, /mnt/user or /mnt/cache. Everything is read from the files already on the server. Nothing is uploaded anywhere.

pc-dashboard-full-settings-syntax-on.png

pc-dashboard-full-settings-syntax-on-docker.png

What you get:

- Dashboard Widget with live auto-refresh and severity proportion strip

- Tools Page for full-screen, focused log viewing

- System Logs: Syslog, Syslog Previous, Dmesg, GraphQL API, Nginx Errors, PHP Log, Libvirt

- Docker Logs with real-time running/stopped status indicators

- VM Logs with real-time running/stopped status indicators

- User Scripts Logs: finds the scripts in the User Scripts plugin and shows their output, no paths to type in

- Custom Logs: point the plugin at any log file under /var/log, /mnt/user or /mnt/cache and it shows up everywhere. A path can carry the date, for folders that change every day

- Log Backups: scheduled snapshots of every source you enable, daily or every 2 to 4 days, compressed to a path you choose, with retention control and calendar download

- Alerts: pattern-based rules that scan logs every 1/2/5 minutes and push notifications through Unraid's notification system when a match is found. Includes one-click presets for failed logins, disk errors, OOM, kernel panics, array errors and Docker crashes

- Search: match highlighting with next/prev navigation

- Filtering: by severity level (Info, Warnings, Errors, Critical) or login events

- Severity Badges: clickable counters that double as quick filters

- Proportion Strip: color bar in the footer showing the error/warning/info ratio at a glance

- Syntax Highlighting: Highlight.js and Prism.js bundled locally, no CDN calls

- Fonts: system monospace by default. The four named fonts are optional and load from Google Fonts, falling back to your system monospace if the server has no internet access

- Autoscroll: follows new entries as they arrive, with pause-on-hover option

- Export: .log, .txt or .json from the widget, .log, .json or .csv from the Tool page, with the level of each line in the structured formats

- Responsive: works from wide monitors down to phones

- Theme Support: Black, Gray, Azure and White

- Independent Settings: Dashboard widget and Tool page configured separately, each with its own Automatic refresh, Autoscroll and Pause on hover

- Performance Friendly: single-source polling, content hash detection, pre-compiled regex, smart tail limits

pc-tool-page-full-settings-syntax-on.png

Log Sources:

System Logs

Syslog, Syslog Previous, Dmesg, Nginx Errors, GraphQL API, PHP Log, Libvirt. Selectable per page.

Docker Logs

Automatically discovers all containers. Each entry shows a green or red dot for running/stopped state. Select which ones to monitor.

VM Logs

Automatically discovers all VMs. Same status dots. Select which ones to monitor.

User Scripts Logs

Reads the scripts installed in the User Scripts plugin and lists them with a checkbox. The log is the one User Scripts itself keeps, so it appears after a script has run in the background or on a schedule. A run started with Run Script streams to the browser and leaves no file behind. The section is hidden when User Scripts is not installed.

Custom Logs

Add any log file under /var/log, /mnt/user or /mnt/cache. Paths are defined once and are then available on the Tool page, the widget, Alerts and Backup.

A path can carry the date. {YYYY}, {MM} and {DD} are replaced with today's year, month and day, so /var/log/hosts/{YYYY}/{MM}/{DD}/nginx/access.log always points at today's file. Alerts pick up the new file on their own, and a backup takes the file of the day it runs.

Log Backups

Compressed backups of the log sources you enable (system, Docker, VMs, user scripts, custom) to a storage path of your choice.

Settings include:

- Backup time (configurable hour)

- Backup frequency: every day, or every 2, 3 or 4 days

- Storage path (defaults to /mnt/user/appdata/Logs-Viewer-Backup)

- Retention from 1 to 6 months, with automatic cleanup of older backups

- Calendar view in the Settings page showing available dates

- One-click ZIP download for any backup date

A backup folder the plugin creates is restricted to root (700) and every backup file is saved readable by root only (600), so backups are not exposed through Samba shares. A folder that already exists keeps its permissions.

Backups are put together inside the backup folder, not in RAM, so a large log cannot use up the server's memory. Nothing is backed up while the array is stopped.

Alerts

The alert system scans log sources at regular intervals and sends notifications through Unraid's built-in notification system when a pattern match is found.

How it works:

- Define rules with a name, text or regex pattern, target sources and severity level. Any source can be targeted, including user script and custom logs

- Set a cooldown per rule to avoid repeated notifications for the same event

- The scanner runs as a cron job every 1, 2 or 5 minutes depending on your setting

- Matches are logged in the alert history (visible in the Settings page) and pushed as Unraid notifications

Built-in presets (one click):

- Failed Login (syslog)

- Disk Error (syslog, dmesg)

- Out of Memory (syslog, dmesg)

- Kernel Panic (syslog, dmesg)

- Array Error (syslog)

- Docker Crash (docker logs)

You can add your own rules on top of these.

pc-settings-page.png

Requirements: Unraid 7.2.0 or newer. The User Scripts section only appears if that plugin is installed.

Install from Community Applications, search for Logs Viewer.

Source, README, Guide and changelog: https://github.com/Lazaros-Chalkidis/unraid-logsviewer

Support is on GitHub only. Bug reports, questions and requests go to GitHub Issues, not this thread. I do not follow forum threads for support, and a problem buried on page 14 of a thread helps nobody. One issue per problem, with the plugin version and your Unraid version, and I will answer there.

Two notes:

1. If you remember my earlier threads for this and the other plugins: I set them to hidden while I was fixing a few things, and a bug in the forum software made them disappear for good instead of hiding them. I could not get them back, so I am reposting them one at a time.

2. All my plugins are written with the help of AI. The design, the decisions, the testing on my own server and the responsibility for what ships are mine. I say it up front so nobody finds out later and feels misled.

Edited by Lazaros Chalkidis
Upload New Screenshots

  • 3 weeks later...
  • Author

2026.11.22 is out

New Features

- Date placeholders in custom log paths. Write {YYYY}, {MM} and {DD} in a path and they are replaced with today's date, so /var/log/hosts/{YYYY}/{MM}/{DD}/nginx/access.log always opens today's file. It works everywhere a custom log does: the widget, the Tools page, Alerts and Backups. Requested by shooftie.

- The Tools page has its own Automatic refresh, Autoscroll and Pause on hover, in Settings > Tool Page, separate from the widget's. With Automatic refresh off, a Refresh now button appears next to the download button. On a touch screen, touching the log holds it still and touching anywhere else lets it go.

- The settings page has a Guide link at the bottom, between Support and Credits. It opens the plugin's guide on GitHub.

Fixed

- A very large log could slow the server down while it was open. The plugin counted every line of the file on each refresh. It now counts only what was added since the last refresh. A huge file is counted a bit at a time, so no single refresh has to read all of it, and until the count catches up the total shows the lines on screen.

- Backups were put together in RAM before being zipped, so a log of several GB could use up the server's memory. They are now put together inside the backup folder.

- A backup no longer runs while the array is stopped. It used to write into RAM in that case.

- When several alerts fired in the same scan, only the first one was sent as an Unraid notification. The others showed in the alert history but never reached you. Every alert is sent now, and Unraid lists them as Logs Viewer Alert, Logs Viewer Alert (2) and so on.

- The alert history was written to the flash drive every time an alert fired, which with a busy rule could be once a minute. It is kept in memory now and saved to the flash drive when the array stops, so it is still there after a normal shutdown or reboot. After a power cut the entries since the last stop are lost.

- Failed Login and Kernel Panic from Add Common Rules now wait 5 minutes before they fire again, they used to fire on every scan. Rules you already have are not changed.

- Pressing Apply could untick sources you had not touched. A system log, a container or a VM lost its tick if its log was empty at that moment, and with Docker or the VM service stopped, as they are while the array is stopped, every container and VM on the open tab was unticked. The same could happen when the list failed to load. A ticked source now stays ticked until you untick it, and the Docker and VM cards say when the service is not running.

- A custom log label, a user script name or a VM name with characters such as < or & was put into the settings page as HTML, so it showed wrong and could run as code. Names are shown as plain text now.

- On a tablet, tapping System, Docker or any other source button in the dashboard widget did nothing, so the log could not be changed. Touch screens of any size now get the same picker as phones.

- The settings page could show "Could not load sources (HTTP 403)", "Failed to load backups" or "Failed to load rules" until it was reloaded. Scan now ended in Error, a backup download failed and Merge on the Tools page came back empty. It happened once the page had been open for a while, sometimes within minutes. All of these now recover on their own.

- The state of a VM was often wrong: a running VM with a space in its name showed as stopped, and the Tools page labelled every VM that was shut off as Unknown. The dot and the label now follow the real state.

- Changes to alert rules were saved only if you pressed Apply while still on the Alerts tab. From any other tab they were dropped without a word. Apply now saves them from every tab, and the rules file on the flash drive is written only when a rule has changed.

- When the rule list failed to load, the editor still let you add a rule, and Apply then replaced your saved rules with that one. The editor now stays locked and offers Retry, and your rules are left as they were.

- An alert rule with Regex ticked never fired if its pattern had an escaped slash, such as \/mnt\/user. It works now, with or without the backslash. A regex that was not valid was saved without a word and never fired either. Apply now stops and names the rule.

- Docker alerts only read the normal output of containers that were running. Error output was skipped, and so was a container that had just stopped, so the lines it wrote as it crashed never reached a rule. Both are read now.

- Docker Crash from Add Common Rules looked for text that Docker itself reports, not for what a container writes, so it almost never fired. It now looks for what programs print when they crash. Rules you already have are not changed. To get the new one, remove your Docker Crash rule and press Add Common Rules again.

- The Dashboard widget kept asking the server for its log while the tile was collapsed or closed, and on a Dashboard opened in a background tab. It now stops, and refreshes the moment you open the tile again.

- Opening the Dashboard read every ticked log in full, and picking another source read its whole tab again. The widget now reads only the log on screen: one request when the Dashboard opens instead of one for every tab. A log you have not opened yet says Loading for a moment. The dots in a tab's list show the state from when the Dashboard was opened, and the dot of the source on screen keeps updating.

- With the tile collapsed, the row of sources in the header stayed on System whatever you had picked. It now follows the tab you are on.

- When the widget had to renew its access token, the lines that arrived with that refresh did not show until the log changed again.

- The backup set its folder to root-only every time it ran, and so did Apply. If Storage location pointed at a folder you share, everyone else lost access to it. A folder that already exists is now left as it is. Only a folder the backup creates is made root-only, and each backup file is saved readable by root alone, so backups still cannot be opened through a share. Apply no longer creates the folder, the first backup does. A folder that was locked before stays locked until you set its permissions back.

- A VM with brackets, +, & or non-Latin letters in its name could be ticked but never showed its log, and it was missing from backups. A user script with such a folder name was left out of the backup or saved under a different name. These names now work in the widget, on the Tools page and in backups. Inside a backup a script log is named after its folder as it is, so my script becomes my script.log and no longer myscript.log.

- Ticking a VM or a script with < in its name and pressing Apply could reset every Logs Viewer setting to its default. Names the settings file cannot hold are now greyed out as "unsupported name" and cannot be ticked: those with a comma, a double quote, <, >, a slash, a backslash, ${ or an HTML entity such as &amp;. Rename the VM or the script to use it.

- A custom log could vanish when you pressed Apply, without a word. It happened to a row whose label had no Latin letter or digit, to a row whose label matched another one apart from capitals and punctuation, and to a row with only a label or only a path. Apply now stops and says which row and why, and a label that cannot be used turns its row red as you type.

- A custom log with İ in its label could be ticked but never showed up, because the settings page and the server gave it different internal names. They now agree. Tick it once more after the update.

- A User Script whose name was not saved as UTF-8 text left the dashboard widget empty and the settings page without its lists of sources. Such a script is now listed under its folder name and everything else works.

- The Tools page and the settings page came up dark inside a light Unraid if Display Settings had never been saved on that server. They now read the theme the same way Unraid does.

- Every update left the previous package file on the flash drive, about 150 KB each time, until the plugin was removed. Older package files are now deleted once the new version is installed, and the update says which ones it removed. Files that a new version no longer ships are cleared from the running plugin at the update too, instead of staying until the next reboot.

- Pressing Apply wrote the settings and the custom log list to the flash drive every time, even when nothing had changed. Each file is now written only when its content is different.

- Picking 20s as the refresh interval of the dashboard widget saved 10s. It is saved as 20s now.

- With every system log unticked for the Tools page, the sidebar still listed Syslog, Dmesg, GraphQL API and Nginx Errors, and none of them opened. The System group is now left out and the page opens on the first source you have ticked.

- With every system log unticked for the dashboard widget, it opened on an empty System button even when containers, VMs, scripts or custom logs were ticked, and kept asking the server for that empty list on every refresh. It now opens on the first source there is, and the empty System button is hidden.

- On the Tools page, "Failed to fetch logs" stayed on screen after the connection came back, until the log got a new line. It now clears on the next refresh that works.

- A backup that included a container which had been removed, or that ran while Docker was stopped, saved a file holding only Docker's error message. On a second run the same day that file replaced the real log saved earlier. Such containers are now left out.

- When a backup ran a second time on the same day, the logs of sources that had been unticked in between stayed in that day's file. They are now taken out.

- On the dashboard widget, a counter and the filter it sets did not agree: Errors also listed every critical line, and a line with two levels showed up under both. A counter now shows exactly the lines it counts. The four numbers also stay as they are while a filter is on, where the others used to drop to zero.

- Lines marked emerg were not counted as critical on the widget, and lines marked alert were not counted on the Tools page. Both pages now use the same words for the four levels.

- After a change of filter the widget could report errors or criticals that were not new, such as "+4 err". It now reports only what arrived since the last refresh, whatever the filter.

- The "Selected" line of the widget and the chips of the collapsed tile showed internal names such as "Script:Nightly Rsync" or "custom:hosts-nginx". They now show the name each source has in its dropdown.

- Reset to Defaults left the ticked User Scripts and custom logs as they were, on the Dashboard, Tool and Backup tabs. It now unticks them like the other lists. The custom log paths themselves are kept.

- A hand-made request that sent a parameter or a setting as a list instead of text left warnings in the PHP log, could put a setting back to its default, and in some cases showed an error instead of the settings page. Such a parameter is now refused, and a setting sent that way keeps its saved value.

- When a log file was missing or could not be read, the message in the log panel showed the full path of the file. It now says only that the file was not found or is not readable.

- The Dashboard and the Tools page waited for Docker for as long as it took, so a Docker that did not answer held up the whole page. Docker and the VM service now get five seconds. After that the page comes up without the running state of the containers, and a container log that could not be fetched reads "Docker did not answer in time."

- The alert scanner could stay stuck on a container whose lines Docker did not hand over, and no other pass ran until that ended. Each container now gets 30 seconds and is skipped in that pass if it takes longer.

- System commands such as docker and virsh are now run by their full path, not looked up by name.

- On the Dashboard, a click on the refresh button, or a log picked from the list, at the moment the widget was renewing its access token was left waiting. The refresh button stayed disabled until the page was reloaded and the log stayed on "Loading…" until the next refresh.

- On the Tools page, one failed renewal of the access token left the log on "Failed to fetch logs (HTTP 403)" until the page was reloaded. The page now says so at once and tries again on every refresh.

- The backup storage location accepted any text. A path with a double quote, <, >, ${ or an HTML entity such as &amp; was read one way by the settings page and another way by the backup script, and some of them made the whole settings file unreadable. Such a path is now refused: Apply stops and says why. The backup script also refuses a location that uses .. to leave /mnt/user/.

- Scan now right after a pass, or two passes close together, read the same container lines again and could raise the same alert twice. The scanner now remembers how far it has read in each container, as it already did for files. A container line is also no longer missed when two passes come further apart than the scan interval.

- When a log grew by more than a megabyte between two passes, the line lying across the megabyte was cut in two and a rule could miss it. The scanner now stops at the end of the last whole line.

- If a pass was stopped while it waited for Docker, the next one read the files again and sent the same notifications a second time. The scanner now saves how far it has read, and the alerts it has raised, as it goes.

- In the CSV export of the Tool page, a log line starting with =, +, - or @ could be run as a formula by the spreadsheet that opened the file. Such a line now gets an apostrophe in front.

- On the Tools page, coming back to the browser tab restarted the live refresh even in Merge and in pause. In Merge, the merged list was replaced by the live log of the last source as soon as that log got a new line. In pause, the log moved while the indicator still read "paused".

- In Alerts, the MITRE menu of a rule had no arrow in the dark themes, and in the light themes the arrow was repeated all over the field, on top of its text.

- On the Tools page, going back from Merge to Live showed the merged lines as the log of the selected source, and Export saved them under its name, until that log got a new line. Live now reads the selected log again.

- On the Dashboard, the login toast missed new logins while another System log, such as Dmesg or PHP Log, was on screen. It now follows them whatever log is shown.

- On the Tools page, a container or VM named null, false or NaN could not be opened, a VM named 0 was missing from the list, and a VM named like a list, such as [1], opened the log of another VM or none.

- Backup cleanup deleted every old zip named after a day, such as 2020-01-01.zip, even one the plugin had not made. It now looks inside and deletes only its own backups.

- An alert whose log line was long and not in Latin letters, or held a byte that is not UTF-8, was sent as a notification but never reached the alert history. Other alerts found in the same scan went missing from the history with it.

- Alerts from log files stopped while a User Script folder with a name that is not UTF-8 had a log of its own: the scanner could not save its place and skipped every new line. Container alerts kept working.

- On a phone, the bin of each row in Custom log paths sat alone on a third line, under the path. It is now on the first line, next to the label.

- In Settings, a dropdown whose saved value was not one of its options, for example after editing the cfg by hand, showed its first option, and Apply then saved that one. It now shows its default.

- Opening the backup calendar deleted any empty file named after a day, such as 2026-11-01.zip, from the backup folder. The calendar now only reads the folder.

- Alerts broke while a log held a line with a NUL byte that matched a rule. A power cut can leave such a line, and so can a container that writes binary data. Every scan stopped at it: the alerts found before it could go out again on each scan, the logs after it were not read, and nothing reached the history. The scan now goes on and sends the line without the NUL bytes.

- A backup never finished when Docker stopped answering, and while it waited no other backup could start. A container whose log does not arrive within five minutes is now left out of that backup, and every container is left out when Docker does not answer within ten seconds.

- A file with the day's name that was not a zip archive, an empty one for example, stopped that day's backup without a word. The backup still leaves such a file alone, and a line in the syslog now says the backup was not written.

- After a burst of log lines the alert scanner fell behind: it read one megabyte of each log per pass, so alerts for anything written after the burst came as many passes late as the burst had megabytes. It now reads up to 16 megabytes of a log in one pass. A rule still fires once per log in a pass.

- The alert scanner took everything a container had written since the last scan into memory at once. A container that wrote a lot could push the scan over PHP's memory limit. The scan then stopped at that container, every time, and the containers after it were not checked. Container output is now read line by line, so a scan needs the same small amount of memory however much a container writes.

- On the Tools page, picking another source while the one before it was still refreshing left "Loading…" on screen until the next refresh, 3 to 20 seconds later, sometimes with "No data returned for this source." in between. A container and a VM with the same name could show each other's log until that refresh. The source you pick is now loaded at once, and a late answer for the one before it is ignored.

- On the Tools page, pressing Merge while the live log was refreshing could bring the live log back a moment later, drawn over the Merge view, or an error if that refresh failed. A late answer for the live log is now ignored once you are in Merge.

- Pressing Live right after picking a source in Merge, or right after pressing Merge with sources already picked, left a "Fetching 2 sources…" message where the live log should be, and hid the refresh indicator, until the log got a new line. A Merge that has not started yet is now cancelled when you go back to Live.

- In the widget, the word "emerg" was counted as critical but not coloured, and the JSON export wrote a line with "emerg" or "err" as "info". The word is now coloured, and the export writes those lines as emergency and error.

- When a filter matched no line, the widget's "No matching lines" message was counted as one line and its words "info" and "critical" were coloured like log levels. The line counter now shows 0 and the message is plain text.

- On the Tools page, after scrolling up the view stayed where it was even when the pointer left the log, and the only way back to the newest line was to scroll down. It now goes back to the newest line as soon as the pointer leaves. To keep the view where you put it, turn Autoscroll off in Settings > Tool Page.

- The Tools page could show a log up to 2 seconds late, depending on the refresh interval set for the widget. It now goes by its own interval.

- After the plugin was removed and installed again, scheduled backups and alerts did not run until you pressed Apply in the settings or restarted the server. The schedule is now loaded a moment after the install.

- Lines marked crit, as nginx writes them, were not counted as critical on the widget or on the Tools page, they got no colour, and the JSON export wrote them as "info". crit is now one of the Critical words.

- On the Tools page, changing the Merge selection while the sources were still loading could leave the earlier selection on screen: the bar read "3 sources merged" while the lines of the third were missing, until the selection changed again. The view now always shows the latest selection.

- On the Tools page, a refresh that was already on its way when the pointer entered the log still redrew it, so the text you were selecting was lost while the indicator read "paused". Nothing is redrawn now while the log is paused.

- On the Tools page, picking a source with the keyboard while the pointer rested on the log started the live refresh under the pointer, and the pause did not come back until you clicked in the log or moved the pointer out and in again. The new log is now loaded once and stays paused.

- A backup cleared its leftover work folders by name, so any folder or file named like .staging-abc123 in the backup folder was deleted, even one the plugin had not made. It now deletes only work folders that carry its own mark.

- With Show toast set to Hide, the widget still asked the server for the syslog on every third refresh. It no longer does.

- A container name starting with a dash could get into the settings from a cfg edited by hand, and Docker read it as an option: --help put Docker's help text in place of the log, on screen and in the backup. A name must now start with a letter or a digit, as the names Docker gives always do.

- The settings page kept the tab of your last Apply in the settings file, so pressing Apply from another tab wrote to the flash drive even when nothing had changed. The tab is now kept in memory, and after a reboot the page opens on the Dashboard Widget tab.

- The Apply button of the settings page was always active, whether there was anything to save or not. It is now greyed out until something on the page differs from what is saved, and it greys out again if you put the value back.

- When Apply found something wrong, or a save, a mute or an unmute failed, the settings page said so in a pop-up of the browser. It now says it in a dialog of its own, in the look of the page. A very long name or path in the message is shortened in the middle.

- In Settings > Tool Page, the Refresh interval list did not show which choice is the default. It now reads "5 seconds - Default".

- The plugin keeps its working files in /tmp/logsviewer_cache, and it used that name without checking what was there. If another program on the server had made a folder or a link with that name first, the plugin's files, the access token of its pages among them, ended up in a place of that program's choosing. The plugin now uses the folder only when it is a real folder owned by root. When it is not, it writes nothing there, the log views read "Failed to fetch logs (HTTP 503)" and a line in the syslog says why.

- In the White and Azure themes, the thin lines between Support, Guide and Credits at the bottom of the settings page were invisible and the links lit up in the wrong colour. They now follow the theme.

- In the Clear alert history dialog, Cancel and Clear looked the same, both orange. Cancel is now plain and Clear is red, and the two sit in the middle of the dialog.

- The backup kept its lock in a file with a fixed name in /tmp. If another program on the server had put a link with that name there, the next backup emptied the file the link pointed to. The lock now lives in the plugin's own folder in /tmp, which the backup checks first. If that folder is not the plugin's, the backup does not run and a line in the syslog says why.

- In the Azure and Gray themes, most buttons of the settings page took Unraid's hover colour instead of their own. In Azure the OK of the dialogs could not be read while the pointer was on it. The buttons now keep the plugin's hover colours in every theme.

- On a phone the settings page sat at the left edge, with a gap on its right. It now fills the width.

- The Mute button on each row of the alert history looked like a stock Unraid button and was much bigger than the rest of the row. It is now a small button like the others on the settings page.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.