Skip to content

Conversation

@premun
Copy link
Member

@premun premun commented May 20, 2021

Since we added few more log files which are sometimes empty (app's .err.log for example), let's not upload them to Helix

chmod 0644 "$output_directory"/*.log

# Remove empty files
find "$output_directory" -name "*.log" -maxdepth 1 -size 0 -print -delete
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if helix should just not upload zero-byte files in general. It seems sort of pointless to do.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking the same but no idea if someone relies on it somehow somewhere

@premun premun merged commit dfc3d94 into dotnet:main May 21, 2021
@premun premun deleted the prvysoky/empty-logs branch May 21, 2021 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants