fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/37719?usp=email )


Change subject: examples/sys.config: add default lager formatting config
......................................................................

examples/sys.config: add default lager formatting config

Related: OS#6450
Change-Id: I2b9c3111a0539703f96c265ae16a0413460d0217
---
M examples/sys.config
1 file changed, 26 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/erlang/osmo_dia2gsup 
refs/changes/19/37719/1

diff --git a/examples/sys.config b/examples/sys.config
index 8814893..c85eee7 100644
--- a/examples/sys.config
+++ b/examples/sys.config
@@ -9,4 +9,19 @@
         {origin_host, "hss.localdomain"},
         {origin_realm, "localdomain"},
         {vendor_id, 0}
-]}].
+]},
+%% https://github.com/erlang-lager/lager?tab=readme-ov-file#custom-formatting
+{lager, [
+       {handlers, [
+               {lager_console_backend, [
+                       {level, info},
+                       {formatter, lager_default_formatter},
+                       {formatter_config, [
+                               time, " ",
+                               "[", severity ,"] ",
+                               message, "\n"
+                       ]}
+               ]}
+       ]}
+]}
+].

--
To view, visit 
https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/37719?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: erlang/osmo_dia2gsup
Gerrit-Branch: master
Gerrit-Change-Id: I2b9c3111a0539703f96c265ae16a0413460d0217
Gerrit-Change-Number: 37719
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-MessageType: newchange

Reply via email to