Skip to content
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

Prevent event logs from writing huge amounts of data #31818

Merged
merged 1 commit into from Mar 14, 2016
Merged

Prevent event logs from writing huge amounts of data #31818

merged 1 commit into from Mar 14, 2016

Conversation

anlutro
Copy link
Contributor

@anlutro anlutro commented Mar 11, 2016

See discussion in issue #28357 - this PR does not fix the issue entirely!

Changes made:

  • don't log event data on returner not found
  • only log event data if log_level is debug or lower

@rallytime
Copy link
Contributor

@anlutro This looks like a good change to me, but I'd like @cachedout to review this as well, before merging.

Also, there's a small pylint error that needs to be cleaned up in the mean time.

@rallytime rallytime added the Pending-Discussion The issue or pull request needs more discussion before it can be closed or merged label Mar 11, 2016
- don't log event data on returner not found
- only log event data if log_level is debug or lower
@cachedout
Copy link
Contributor

This is good. Thanks, @anlutro

cachedout pushed a commit that referenced this pull request Mar 14, 2016
Prevent event logs from writing huge amounts of data
@cachedout cachedout merged commit aa120cb into saltstack:2015.8 Mar 14, 2016
@anlutro anlutro deleted the fix-event_logging_spam branch March 23, 2016 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pending-Discussion The issue or pull request needs more discussion before it can be closed or merged Tests-Passed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants