File 0106-Add-an-example-of-the-log-message-emitted-when-going.patch of Package erlang

From 48aa55ba32745f049367ac0d44f28aea148f6aed Mon Sep 17 00:00:00 2001
From: Tobias Pfeiffer <pragtob@gmail.com>
Date: Tue, 24 Sep 2024 11:26:58 +0200
Subject: [PATCH] Add an example of the log message emitted when going to drop
 mode

I think it's very helpful to have this documented, as I had
been looking for it and while you can just try and search your
logs for `:drop` having the concrete message as an example
is helpful (and other people looking into this had asked me
about it).
---
 lib/kernel/doc/guides/logger_chapter.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/kernel/doc/guides/logger_chapter.md b/lib/kernel/doc/guides/logger_chapter.md
index 1d809b5766..42222ac10f 100644
--- a/lib/kernel/doc/guides/logger_chapter.md
+++ b/lib/kernel/doc/guides/logger_chapter.md
@@ -1013,6 +1013,8 @@ actions, exist:
   message queue is reduced to a level below the threshold, synchronous or
   asynchronous mode is resumed. Notice that when the handler activates or
   deactivates drop mode, information about it is printed in the log.
+  The emitted log message looks something like this:
+  `[notice] Handler :default switched from :sync to :drop mode`
 
   Defaults to `200` messages.
 
-- 
2.43.0

openSUSE Build Service is sponsored by