docker-mailserver/target/scripts/helpers
Georg Lauterbach b1594a8b1c
log/scripts: introduce proper log level fallback and env getter function (#2506)
This PR does two small things:

1. The log level, in case it is unset, will now be "calculated" from
   `/etc/dms-settings` and not always default to `info`. This way, we
   can ensure that more often than not, the log level the user chose
   when starting DMS is used everywhere.
2. I noticed that the way I obtained the log level could be used to
   obtain any env variable's log level. I therefore added a function to
   `utils.sh` in case we use it in the future.
2022-04-05 17:10:01 +02:00
..
accounts.sh scripts: new log (#2493) 2022-03-21 07:07:52 +01:00
aliases.sh scripts: new log (#2493) 2022-03-21 07:07:52 +01:00
dns.sh Rename config examples directory (#2438) 2022-03-02 22:54:14 +00:00
error.sh scripts: refactoring & miscellaneous small changes (#2499) 2022-03-26 10:17:08 +01:00
index.sh Rename config examples directory (#2438) 2022-03-02 22:54:14 +00:00
lock.sh scripts: refactored scripts located under `target/bin/` (#2500) 2022-03-26 09:30:09 +01:00
log.sh log/scripts: introduce proper log level fallback and env getter function (#2506) 2022-04-05 17:10:01 +02:00
network.sh Rename config examples directory (#2438) 2022-03-02 22:54:14 +00:00
postfix.sh Rename config examples directory (#2438) 2022-03-02 22:54:14 +00:00
relay.sh scripts: new log (#2493) 2022-03-21 07:07:52 +01:00
sasl.sh Rename config examples directory (#2438) 2022-03-02 22:54:14 +00:00
ssl.sh log: adjust level and message(s) slightly for four messages (#2532) 2022-04-05 16:21:07 +02:00
utils.sh log/scripts: introduce proper log level fallback and env getter function (#2506) 2022-04-05 17:10:01 +02:00