Reverse the coupling of module log and config #1606

Merged
konrad merged 9 commits from HoffmannP/api:main into main 2023-10-03 09:28:34 +00:00

9 Commits

Author SHA1 Message Date
Peter H0ffmann 4f425041ad Merge branch 'main' into main
continuous-integration/drone/pr Build is passing Details
2023-10-01 16:04:52 +00:00
Berengar W. Lehr 21191c0338 Ignore constant "off" recommendation
continuous-integration/drone/pr Build is passing Details
2023-09-28 11:52:59 +02:00
Berengar W. Lehr 61f0f65bf1 Better comment for logPath default value
continuous-integration/drone/pr Build is failing Details
2023-09-28 11:01:54 +02:00
Berengar W. Lehr fcc502edcf Only update config if config file is actually used 2023-09-28 11:01:37 +02:00
Berengar W. Lehr e5ebc6ede6 Save value of configLogPath in ConfigLoogger in logging module for later use in GetLogWriter
continuous-integration/drone/pr Build is failing Details
2023-09-27 15:35:27 +02:00
Berengar W. Lehr 5af348dbe1 Change MkDir to MkDirAll so even subdirs are created
continuous-integration/drone/pr Build is failing Details
2023-09-27 12:00:15 +02:00
Berengar W. Lehr ba79afe29c Typo
continuous-integration/drone/pr Build is failing Details
2023-09-26 14:56:35 +02:00
Berengar W. Lehr 5560fc7f98 Deprecating value "false" for config.log.standard and config.log.events 2023-09-26 14:44:20 +02:00
Berengar W. Lehr 8b22f71399 Reversed dependency of config and log module so that logging can start before parsing config ENV and file.
All loggers are configured independently through the constructor
Dependency on viper solely in config module
Minor fixes in error strings in logger constructors
Using config.log.database and config.log.mail instead of values from viper
2023-09-26 14:36:57 +02:00