In order to avoid conflicts with folder names when rerunning a test case, we add testcase_log_index to the logger_config and use it to tag a number next to each result folder. e.g. 001_test_case 002_test_second Change-Id: I6b727f183a7d772e7cdce9c4f9f78c723c993076 Signed-off-by: croy <Christian.Roy@windriver.com>
12 lines
605 B
Plaintext
12 lines
605 B
Plaintext
{
|
|
// log_location points to the folder which will contain the logs for this automation run.
|
|
// If it is left as "DEFAULT", then ~/AUTOMATION_LOGS will be used.
|
|
"log_location": "DEFAULT",
|
|
"append_lab_and_timestamp": true, // appends the lab name and timestamp to the log file location
|
|
|
|
// Acceptable values are: ERROR, WARNING, INFO, or DEBUG
|
|
"console_log_level": "DEBUG", // Level of Logs displayed in the console.
|
|
"file_log_level": "DEBUG", // Level of Logs included in log files.
|
|
"testcase_log_index": 1 // Starting index for test case folder numbering (optional, defaults to 1)
|
|
|
|
} |