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

Print full exceptions as they occur in logging #43949

Closed
hoffman mannequin opened this issue Sep 6, 2006 · 2 comments
Closed

Print full exceptions as they occur in logging #43949

hoffman mannequin opened this issue Sep 6, 2006 · 2 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@hoffman
Copy link
Mannequin

hoffman mannequin commented Sep 6, 2006

BPO 1553380
Nosy @vsajip

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/vsajip'
closed_at = <Date 2007-01-15.16:48:59.000>
created_at = <Date 2006-09-06.12:57:16.000>
labels = ['type-feature', 'library']
title = 'Print full exceptions as they occur in logging'
updated_at = <Date 2007-01-15.16:48:59.000>
user = 'https://bugs.python.org/hoffman'

bugs.python.org fields:

activity = <Date 2007-01-15.16:48:59.000>
actor = 'vinay.sajip'
assignee = 'vinay.sajip'
closed = True
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2006-09-06.12:57:16.000>
creator = 'hoffman'
dependencies = []
files = []
hgrepos = []
issue_num = 1553380
keywords = []
message_count = 2.0
messages = ['54893', '54894']
nosy_count = 2.0
nosy_names = ['vinay.sajip', 'hoffman']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue1553380'
versions = ['Python 2.6']

@hoffman
Copy link
Mannequin Author

hoffman mannequin commented Sep 6, 2006

Sometimes exceptions occur when using logging that are
caused by the user code. However, logging catches these
exceptions and does not give a clue as to where the
error occurred. Printing full exceptions as suggested
in RFE http://www.python.org/sf/1553375 would be a big
help.

@hoffman hoffman mannequin closed this as completed Sep 6, 2006
@hoffman hoffman mannequin assigned vsajip Sep 6, 2006
@hoffman hoffman mannequin added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Sep 6, 2006
@vsajip
Copy link
Member

vsajip commented Jan 15, 2007

Logging now catches very few exceptions: if logging.raiseExceptions is set to 1 (the default), exceptions are generally raised. There have been recent changes in logging to reduce the number of bare except: clauses, so I am closing this item as I believe it has been adequately addressed.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant