Make appending to the newest log file in the fs logging backend optional. By default, if there is still free space in the latest log file, the fs logging backend appends to it on startup. This is useful for saving space and avoiding the removal of older log files, if the maximum number of log files has been reached. The drawback of this behavior is, that log files that got appended can not be decoded, if the firmware has changed between startups, for instance by an update, since the log_dictionary.json used for decoding has also changed. Therefore, it may be desirable to deactivate appending to log files. Signed-off-by: Niklas Fabian <niklas.fabian@lemonbeat.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.adsp | ||
| Kconfig.adsp_mtrace | ||
| Kconfig.ble | ||
| Kconfig.efi_console | ||
| Kconfig.fs | ||
| Kconfig.multidomain | ||
| Kconfig.native_posix | ||
| Kconfig.net | ||
| Kconfig.rtt | ||
| Kconfig.spinel | ||
| Kconfig.swo | ||
| Kconfig.uart | ||
| Kconfig.xtensa_sim | ||
| log_backend_adsp_mtrace.c | ||
| log_backend_adsp.c | ||
| log_backend_ble.c | ||
| log_backend_efi_console.c | ||
| log_backend_fs.c | ||
| log_backend_ipc_service.c | ||
| log_backend_native_posix.c | ||
| log_backend_net.c | ||
| log_backend_rtt.c | ||
| log_backend_spinel.c | ||
| log_backend_swo.c | ||
| log_backend_uart.c | ||
| log_backend_xtensa_sim.c | ||
| log_multidomain_backend.c | ||