Closed thaodt closed 2 years ago
Sorry, that's currently not possible.
Not completely correct ;-) See https://docs.rs/flexi_logger/0.23.1/flexi_logger/code_examples/index.html#reconfigure-the-file-log-writer for an example of how to change the output file. You cannot start without one, but you could try /dev/null or a dummy file.
Hi, is there a way to log to stdout/err from the first place and reconfigure to log to file later (from the another place - by reading application configuration)?
I tried some available configuration from docs, but no matter what I tried, it logged to the file.