3
0

11 Commits

Author SHA1 Message Date
Denis Arh
ecb7f52c31 Improve error creation & handling by API 2020-11-04 14:18:33 +01:00
Denis Arh
5eba380f19 Cleanup, instrumentation 2020-09-15 07:24:28 +02:00
Denis Arh
f4e6d2ae5a Refactor bootstraping procedure 2020-08-24 15:38:42 +02:00
Denis Arh
c0713893b6 Improve initial logger configuration
Default logging level is now WARN
If serve-api command is executed and log level is not explicitly specified
with LOG_LEVEL, log level is set to INFO

Root command now accepts -s/--silent and -d/--debug flags
for log level control
2020-03-27 21:48:04 +01:00
Denis Arh
57990135a5 Explicitly set debug level inside debug logger maker fn 2020-01-18 07:05:34 +01:00
Denis Arh
29902db2b1 Refactor & improve application initialization 2020-01-18 07:05:10 +01:00
Denis Arh
0b16df555c Add ability to log masked (string) values 2019-08-25 12:43:35 +02:00
Denis Arh
acffdc1c65 Simplify/improve logging configuration 2019-07-09 17:47:58 +02:00
Denis Arh
5c750fb7cf Fix handler/request codegens
Missing return caused malformed response output:
{"error":{"message":"invalid username/password combination"}}{"response":false}

Remove param logging when params.Fill() returns an error
2019-05-28 10:51:56 +02:00
Denis Arh
22476933f4 Improve cli env setup & running 2019-05-26 08:41:20 +02:00
Denis Arh
36b32fa2fe Move logger package from internal to pkg 2019-05-24 13:30:48 +02:00