Skip to content

Larger default log file size and retention #852

@DarwinJS

Description

@DarwinJS

We are starting to use Chocolatey for code deployment due to the limitations of NuGet (mainly to call a script from inside the package when processing OUTSIDE of Visual Studio).

This allows our code deploy packages to be called where we have no orchestration to trigger the install script (e.g. our developer workstations do not have Chef nor octopus installed).

I am making sure each and every file copy gets logged so that root cause is easy if a code deploy in production goes wrong.

In one of my packages there are so many files that this overflows all 11 chocolatey log files and I can't see the beginning of the log.

I understand that this is not necessarily a use case that chocolatey was designed around - but Chocolatey is very useful for code deploys for us and I think others may find the same.

It would be helpful if the size limit on each log file were higher by default. 1 MB is a pretty small limit.

If the default size of each could be, say, 100 MB, then I may not need any additional configuration controls. I think this would be the preferred option as I would not have to reconfigure the default chocolatey install.

If the size must remain 1MB, it would be helpful to have configuration control over how many old versions are kept.

Metadata

Metadata

Assignees

Labels

5 - ReleasedThe issue has been resolved, and released to the public for consumption.EnhancementIssues that introduce new functionality to the project, or enhances/updates existing functionality.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions