-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
As pip2 grows, it will become paramount that a logger will be required for continued development. Unlike pip, we will probably not want to implement our own logger on top of the standard python one. Currently all needed functionality is provided by the default python logger.
pip2 logging structure:
- log all uncaught exceptions with tracebacks
- log packaging/distutils2 logs to pip2's log with clear distinctions between the two
- pip2 log file gets reset after each time it is ran
- all pip2 standard output gets logged
- all logs will include time stamp, logger name, log level, and message
optional future log ideas:
- allow user to set the logging level of pip2 in a config file
- allow user to specify a path for the log file (for their own records) which will not get reset
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels