diff options
author | Daniel Weber <37300320+danielweber2018@users.noreply.github.com> | 2023-03-10 15:31:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-10 15:31:48 +0100 |
commit | 363d433a5dac141020cef4f698f60644fe4a202c (patch) | |
tree | 6d21d2447309ca9e4a76fb3c70d36b216d1ef753 /src/lib/CMakeLists.txt | |
parent | 3b8a82ffae22c51bb02c11e669754983e8aabd5a (diff) | |
download | DLT-daemon-363d433a5dac141020cef4f698f60644fe4a202c.tar.gz |
logfile: exhance internal dlt logging by introducing size limits (#369)
Enhance dlt logging such that multiple files are used as it is done
for the offline traces. Add limit-specific config values for logging.
For this purpose the pattern of index-based file names is used only.
This approach of logging to multiple files and rotating in order
to keep the limits ensures that dlt logs take care of available
space on the underlying file system and do not grow infinitely.
Signed-off-by: Daniel Weber <daniel.w.weber@daimler.com>
Co-authored-by: Oleg Tropmann <oleg.tropmann@daimler.com>
Diffstat (limited to 'src/lib/CMakeLists.txt')
-rw-r--r-- | src/lib/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt index 3293376..e6d6334 100644 --- a/src/lib/CMakeLists.txt +++ b/src/lib/CMakeLists.txt @@ -19,6 +19,7 @@ set(dlt_LIB_SRCS dlt_filetransfer.c dlt_env_ll.c ${PROJECT_SOURCE_DIR}/src/shared/dlt_common.c + ${PROJECT_SOURCE_DIR}/src/shared/dlt_multiple_files.c ${PROJECT_SOURCE_DIR}/src/shared/dlt_protocol.c ${PROJECT_SOURCE_DIR}/src/shared/dlt_user_shared.c ) |