Add rotating log file path configuration option
Current behavior was to write the log in the CWD that could lead to:
Error: libs/log/src/text_file_backend.cpp(1496): Throw in function consume
Dynamic exception type: boost::wrapexcept<boost::filesystem::filesystem_error>
std::exception::what: Failed to open file for writing: Input/output error [generic:5]: "/lima2_0.log"
when started from supervisor (if CWD not properly configured).
- Refactor log to .cpp to improve compile time.
- Adds
add_console_log()
andadd_file_log()
to the logging API. - Add
log-file-path
andlog-file-filename
options to the command line oflima2_tango
.