-
Notifications
You must be signed in to change notification settings - Fork 813
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
Logging #297
Merged
Merged
Logging #297
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
2302ad9
consistent logging using centrally configured python logger
xcolour f9fb135
consistent logger naming
xcolour efd30dc
programmatically configure loggers to clear up logging config
xcolour 14ea3a3
deb packaging for new logging
xcolour 81e3227
clean up some py24 incompatiblities
xcolour d245f44
rpm packaging for new logging
xcolour 8cf9df5
give pid files safe permissions. fixes #293.
xcolour e114614
don't log during 'info' command
xcolour 9f3fde1
show log locations in info command
xcolour 364e771
version 3.5.0
xcolour 8f9d191
clean up logging config
xcolour 80a5481
rotate logs
xcolour e1912d0
dump the vestigal 'get_logger_name()'
xcolour 96572d0
print the whole traceback when logging fails
xcolour b6294cc
syslog logging. on by default, and configurable.
xcolour ad88088
show deprecation warning if old-style python logging config exists
xcolour d70b556
rename 'logger' to 'log' for oli
xcolour 0c67cc4
Merge branch 'master' into logging
conorbranagan f80a706
Only log "starting collector run.." every 20 runs.
conorbranagan 342c0c5
fix some issues from the conflicting merge
conorbranagan f909947
Merge branch 'master' into logging
conorbranagan b3ae1e5
remove old setup_logging call
conorbranagan fcabffc
Always show "starting run #x" logging because it's at debug level.
conorbranagan 8a57fd4
update travis to use master branch for downloads
conorbranagan cb6abeb
generate a datadog.conf file before testing with travis
conorbranagan cdbf8b0
Fix syntax in travis.yml
conorbranagan d7194b8
Add a branch for datadog.conf file in travis.yml
conorbranagan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does StandardError work with python 3.x too?
(If not, why don't we just catch "Exception", since we just log and exit, it's not a problem if we catch system.exit())
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
StandardError
is gone in 3.x, but I don't think supporting everything from 2.4 - 3.x with the same code is a reasonable goal.daemon.py
does some process magic that callssys.exit()
a few times and results in ugly stack traces in 2.4. I think clean logs are more valuable than being 3.x compatible.