From da3ebae5adab2a2b379d60d9d35a7de938eb4976 Mon Sep 17 00:00:00 2001 From: kierancyphus Date: Mon, 13 Nov 2023 15:04:32 +0800 Subject: [PATCH] modem_log_constants: System props for logging Several different services need to be able to set the output directory for copying modem logs, as well as how many files should be copied. Test: N/A just defining constants Bug: 302435001 Change-Id: I3e9f2462a42e3b074810e6fb0a925a8ca026f89d --- modem/modem_log_constants/include/modem_log_constants.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modem/modem_log_constants/include/modem_log_constants.h b/modem/modem_log_constants/include/modem_log_constants.h index 133a2a2..68004cf 100644 --- a/modem/modem_log_constants/include/modem_log_constants.h +++ b/modem/modem_log_constants/include/modem_log_constants.h @@ -21,6 +21,10 @@ inline constexpr std::string_view kModemLoggingNumberBugreportProperty = // determine the logging type. inline constexpr std::string_view kModemLoggingPathProperty = "vendor.sys.modem.logging.log_path"; +inline constexpr std::string_view kModemLoggingLogCountProperty = + "vendor.sys.modem.logging.log_count"; +inline constexpr std::string_view kModemLoggingLogPath = + "vendor.sys.modem.logging.log_path"; // Bugreport constants inline constexpr int kDefaultBugreportNumberFiles = 100;