diff --git a/code/components/mainprocess_ctrl/MainFlowControl.cpp b/code/components/mainprocess_ctrl/MainFlowControl.cpp index 28e8568f9..ba0e2a4be 100644 --- a/code/components/mainprocess_ctrl/MainFlowControl.cpp +++ b/code/components/mainprocess_ctrl/MainFlowControl.cpp @@ -1045,7 +1045,7 @@ void task_autodoFlow(void *pvParameter) // ******************************************** else if (taskAutoFlowState == FLOW_TASK_STATE_IMG_PROCESSING) { // Clear separation between runs - LogFile.writeToFile(ESP_LOG_DEBUG, TAG, "----------------------------------------------------------------"); + LogFile.writeToFile(ESP_LOG_DEBUG, TAG, "--------------------------------"); LogFile.writeToFile(ESP_LOG_INFO, TAG, "Cycle #" + std::to_string(++cycleCounter) + " started"); cycleStartTime = getUptime(); cylceStartActualTime = esp_timer_get_time(); diff --git a/code/components/time_sntp/time_sntp.cpp b/code/components/time_sntp/time_sntp.cpp index 4ac2d661f..0fa62ecdc 100644 --- a/code/components/time_sntp/time_sntp.cpp +++ b/code/components/time_sntp/time_sntp.cpp @@ -122,9 +122,9 @@ void setTimeZone(std::string _tzstring) void timeSyncNotificationCallback(struct timeval *tv) { if (timeWasNotSetAtBoot_PrintStartBlock) { - LogFile.writeToFile(ESP_LOG_INFO, TAG, "======================================="); - LogFile.writeToFile(ESP_LOG_INFO, TAG, "=============== Start ================="); - LogFile.writeToFile(ESP_LOG_INFO, TAG, "=== Before sync: log_1970-01-01.txt ==="); + LogFile.writeToFile(ESP_LOG_INFO, TAG, "==================================="); + LogFile.writeToFile(ESP_LOG_INFO, TAG, "============== Start =============="); + LogFile.writeToFile(ESP_LOG_INFO, TAG, "= Before sync: log_1970-01-01.txt ="); timeWasNotSetAtBoot_PrintStartBlock = false; } LogFile.writeToFile(ESP_LOG_INFO, TAG, "Time is synced with NTP server " + diff --git a/code/main/main.cpp b/code/main/main.cpp index 36b865d2f..ee8bf30b8 100644 --- a/code/main/main.cpp +++ b/code/main/main.cpp @@ -68,7 +68,7 @@ extern "C" void app_main(void) // ******************************************** // Highlight start of app_main // ******************************************** - ESP_LOGI(TAG, "=========== Start app_main ============"); + ESP_LOGI(TAG, "========= Start app_main =========="); // Init NVS flash // ******************************************** @@ -92,9 +92,9 @@ extern "C" void app_main(void) // Highlight start of logfile logging // Default Log Level: INFO -> Everything which needs to be logged during boot should be have level INFO, WARN OR ERROR // ******************************************** - LogFile.writeToFile(ESP_LOG_INFO, TAG, "======================================="); - LogFile.writeToFile(ESP_LOG_INFO, TAG, "=============== Start ================="); - LogFile.writeToFile(ESP_LOG_INFO, TAG, "======================================="); + LogFile.writeToFile(ESP_LOG_INFO, TAG, "==================================="); + LogFile.writeToFile(ESP_LOG_INFO, TAG, "============== Start =============="); + LogFile.writeToFile(ESP_LOG_INFO, TAG, "==================================="); // SD card: Create further mandatory directories (if not already existing) // Correct creation of these folders will be checked with function "checkSdCardFolderFilePresence"