-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Log file splitting\rotating. #2213
Comments
Hi there! I'll propose this to the team during our upcoming sync this week. Chances are it will not make it into 10.19.0, but perhaps a later release. |
Thanks. For anyone else who runs into this issue, the Linux App "Less" works well for opening these large logs. There's a version wrapped in GnuWin that works for folks limited to operating on Windows systems. |
@adreed-msft did this ever make it onto a roadmap? Running into this issue again with another large sync (75+TB, with about 25 million files). Thanks! |
@adreed-msft Following up again. Was this feature ever added to the roadmap for AZCopy? |
Hi! This feature request has been resolved as of our latest AzCopy release 10.22.0. Please upgrade! Closing this issue as a result. Thanks again for the feature request! |
Thank you!!!! |
Feature request: Log file maximum size switch, and\or automatic log splitting.
AZCopy currently creates a single log file for an entire job. When jobs are sufficiently large in file count the log becomes functionally unusable due to the extreme file size of the .log file.
Example situation: 50TB Azcopy sync job. Current log file with default logging options is 4GB and growing. This is large enough that it cannot be opened with common application. This defeats the purpose of the log file, and prevents diagnosis of failed files.
Reducing the log verbosity works in some situations, but for copies where a chain of custody is needed for data transfers the full verbosity log may be required.
Please add automatic log splitting at a reasonable file size (100mb? 500mb?) to the logging function, or a switch that allows setting the maximum log size before log rotation.
The text was updated successfully, but these errors were encountered: