Open flabellle-fn opened 1 month ago
Hi @flabellle-fn
Thank you for your feedback. We'd like to clarify a few points regarding the logging behavior:
Timestamps in Logs: The log file correctly includes timestamps for every log entry, and this feature is working as expected.
Log Levels: When --log-level
is set to ERROR
, only error logs and critical job-related information are logged, as intended.
Console Output with --output-level=QUIET
: In this case, no output should appear in the console. If you're seeing any output, it might be due to a panic being generated, which is meant to assist with debugging but should not be visible to end users. We'll review this to ensure proper handling.
When --log-level
is set to NONE
, the xxx-scanning.log
and the job log file is not created, by doing so you can avoid creating the log files.
Additionally, we're planning to address the following in an upcoming update:
--log-level
is set to NONE
, the log file location is currently printed on the console. We plan to address this so it won't be shown.We appreciate your valuable insights and are working to enhance the experience based on your feedback. Please feel free to reach out if you have any other concerns.
Which version of the AzCopy was used?
10.26.0
Which platform are you using? (ex: Windows, Mac, Linux)
Linux
What command did you run?
AzCopy copy ... --log-level XXXX --output-level XXX (a perfectly working command, and then, the same with invalid SAS to generate an error and test various log level combinations).
What problem was encountered?
You want to know when everything will be fine ? It's when you will be able to provide a way to log ONLY errors, the significative part of it, for an end user, to a single file. E.g. command line and the error encountered.
How can we reproduce the problem in the simplest way?
Just try it...
Have you found a mitigation/solution?
NO !
Thanks