Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Update logrotate for grove and change some messaging from Error to Info level.#2982

Merged
rob05c merged 1 commit into
apache:masterfrom
jrushford:grove_error_log
Nov 1, 2018
Merged

Update logrotate for grove and change some messaging from Error to Info level.#2982
rob05c merged 1 commit into
apache:masterfrom
jrushford:grove_error_log

Conversation

@jrushford
Copy link
Copy Markdown
Contributor

What does this PR do?

This changes some error messaging in grove to 'Info' log level as
these messages are more informative than they are errors and they are
filling up the error.logs. Also updates logrotate to add in error.log
rotation.

Fixes #(issue_number)

Which TC components are affected by this PR?

  • Documentation
  • Grove
  • Traffic Analytics
  • Traffic Monitor
  • Traffic Ops
  • Traffic Ops ORT
  • Traffic Portal
  • Traffic Router
  • Traffic Stats
  • Traffic Vault
  • Other _________

What is the best way to verify this PR?

/var/log/grove/error.log is rotated once it grows beyond 100m and no-longer logs messages about 'InterceptConn'.

Check all that apply

  • This PR includes tests
  • This PR includes documentation updates
  • This PR includes an update to CHANGELOG.md
  • This PR includes all required license headers
  • This PR includes a database migration (ensure that migration sequence is correct)
  • This PR fixes a serious security flaw. Read more: www.apache.org/security

these messages are more informative than they are errors and they are
filling up the error.logs.  Also updates logrotate to add in error.log
rotation.
@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Nov 1, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2707/
Test PASSed.

Copy link
Copy Markdown
Member

@rob05c rob05c left a comment

Choose a reason for hiding this comment

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

These really are errors, I don't like changing them, but they happen too frequently to spam the error log, and we don't have a good fix for the problem at the moment.

@rob05c rob05c merged commit da85c75 into apache:master Nov 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants