elizarov
02/07/2018, 1:06 PMCallLogging
Ktor feature to INFO
and use INFO
as a default log threshold in all the sample log configuration files. So, by default, INFO
, WARN
, and ERROR
will get printed. The idea that you should see all the requests in your logs and if you want to get more detailed logs (DEBUG
or TRACE
) from certain subsystems/parts of your Ktor app, then you can go and turn on finer-grained logging level for those subsystems. What do you think? What is you experience with logging level?hallvard
02/07/2018, 4:57 PMSergey Chikin
02/07/2018, 9:51 PMDEBUG
. In production you will most likely use INFO
as your default loglevel but for local development people mostly run at DEBUG
, TRACE
is too verbose for most libraries. In production you will still be collecting request logs from LB so you will not normally need requests to be logged by Ktor unless something really weird is happening between LB and Ktor instancesdave08
02/07/2018, 10:09 PMSergey Chikin
02/07/2018, 10:11 PM