Describe the bug
when the log file/sail directory/log directory exists, the message must not be sai/logl directory creation failed exit status 1
It must print the message indicating that the respective file/directory exists
To Reproduce
Steps to reproduce the behavior:
- Command being traced - dockerize -p {pid}
- Sequence of REST APIs and Trace Options used - NA
- Response Body and Response Code from the REST API - NA
- In case of command line utility issue, the command line options used and the response from the command line utility - dockerize -p {pid}
- Sail terminal logs -
- time="2021-01-14T17:37:17+05:30" level=info msg="Possible Docker Image : ubuntu:20.04" accountID="module:sail" requestID=1a38e0c5-5ea8-4908-97d7-01f20e1e9c62 source="trace/trace_api.go:121"
2021/01/14 17:37:17 util/cmd ExecuteAsScript :sail directory creation failed exit status 1
2021/01/14 17:37:17 util/cmd ExecuteAsScript :log directory creation failed exit status 1
time="2021-01-14T17:37:17+05:30" level=info msg="Possible Docker Image : ubuntu:20.04" accountID="module:sail" requestID=1a38e0c5-5ea8-4908-97d7-01f20e1e9c62 source="trace/trace_api.go:121"
2021/01/14 17:37:17 util/cmd ExecuteAsScript :sail directory creation failed exit status 1
2021/01/14 17:37:17 util/cmd ExecuteAsScript :log directory creation failed exit status 1
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
** System (please complete the following information):**
You can get these information from the os-release file as below:
Additional context
Add any other context about the problem here.
Describe the bug
when the log file/sail directory/log directory exists, the message must not be sai/logl directory creation failed exit status 1
It must print the message indicating that the respective file/directory exists
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
** System (please complete the following information):**
You can get these information from the os-release file as below:
Additional context
Add any other context about the problem here.