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

Enable Logging file to a file #182

Closed
abhiTronix opened this issue Dec 18, 2020 · 2 comments · Fixed by #183 or #186
Closed

Enable Logging file to a file #182

abhiTronix opened this issue Dec 18, 2020 · 2 comments · Fixed by #183 or #186
Assignees
Labels
ENHANCEMENT ⚡ New Feature/Addition/Improvement MAINTENANCE 🏗️ Just sorting things out! SOLVED 🏁 This issue/PR is resolved now. Goal Achieved!
Milestone

Comments

@abhiTronix
Copy link
Owner

Detailed Description

Add a new parameter to enable Logging file to a file in VidGear.

Context

VidGear logging missing logging to a file. Let's implement that too.

Your Current Environment

  • VidGear version: v0.2.0
  • Branch: development
  • Python version: all
  • Operating System and version: all
@abhiTronix abhiTronix added ENHANCEMENT ⚡ New Feature/Addition/Improvement WORK IN PROGRESS 🚧 currently been worked on. labels Dec 18, 2020
@abhiTronix abhiTronix added this to the 0.2.0 milestone Dec 18, 2020
@abhiTronix abhiTronix self-assigned this Dec 18, 2020
abhiTronix added a commit that referenced this issue Dec 21, 2020
- Added `VIDGEAR_LOGFILE` environment variable to manually add file/dir path.
- Reworked `logger_handler()` Helper methods (in asyncio too).
- Added new formatter and Filehandler for handling logger files.
- Added auto version extraction from package `version.py` in setup.py.
@abhiTronix abhiTronix linked a pull request Dec 26, 2020 that will close this issue
6 tasks
@abhiTronix abhiTronix added the MAINTENANCE 🏗️ Just sorting things out! label Dec 29, 2020
abhiTronix added a commit that referenced this issue Dec 29, 2020
- CamGear: Support for various Live-Video-Streaming services (Fixes #160)
	- Added seamless support for live video streaming sites like Twitch, LiveStream, Dailymotion etc.
	- Implemented flexible framework around `streamlink` python library with easy control over parameters and quality.
	- Stream Mode can now automatically detects whether `source` belong to YouTube or elsewhere, and handles it with appropriate API.
	- Added additional `STREAM_QUALITY` and `STREAM_PARAMS` attributes.
	- Updated docs with all new additions and examples.
	- Moved WebGear API to Streaming Gears.
	- Added `restore_levelnames` auxiliary method.
	- Updated CI tests, `setup.py` and `ReadMe.md`.
	- Fixed Several logging bugs.

- Logging: Added file support (Fixes #182)
	- Added `VIDGEAR_LOGFILE` environment variable to manually add file/dir path.
	- Reworked `logger_handler()` Helper methods (in asyncio too).
	- Added new formatter and Filehandler for handling logger files.
	- Added auto version extraction from package `version.py` in setup.py.

- CamGear: Re-implemented YouTube URLs Handler (Fixes #133)
	:warning: `y_tube` parameter renamed as `stream_mode`!
	:warning: Removed `FORCE_YTUBE_VAMODE` attribute.

	- Re-implemented CamGear's YouTube URLs Handler completely from scratch.
	- New Robust Logic to flexibly handing video and video-audio streams.
	- Intelligent stream selector for selecting best possible stream compatible with OpenCV.
	- Added support for selecting stream qualities and parameters.
	- Added additional `STREAM_QUALITY` and `STREAM_PARAMS` attributes for CamGear.
	- Implemented new `get_supported_quality` helper method for handling specified qualities
	- Fixed Live-Stream URLs not supported by OpenCV's Videocapture and its FFmpeg.
	
- CI: Maintance Updates
	- Added support for new `VIDGEAR_LOGFILE` environment variable in Travis CI.
	- Fixed failing CI tests.
	- Added missing CI tests.
	- Added logging for helper functions.
	- Updated `contributing.md`

- Bash Scripts: Fixed OpenCV Release binaries detection bugs
- Docs: Few minor additions and fixes
- Bumped `dev` version.
- Docs: Quick typo fixed
- CI: Bumped codecov
- CI: Bugs fixed
@abhiTronix
Copy link
Owner Author

Successfully resolved and merged in commit b31ca58

@abhiTronix abhiTronix added SOLVED 🏁 This issue/PR is resolved now. Goal Achieved! and removed WORK IN PROGRESS 🚧 currently been worked on. labels Dec 29, 2020
@abhiTronix abhiTronix linked a pull request Jan 1, 2021 that will close this issue
58 tasks
@abhiTronix abhiTronix mentioned this issue Jan 1, 2021
58 tasks
@abhiTronix
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ENHANCEMENT ⚡ New Feature/Addition/Improvement MAINTENANCE 🏗️ Just sorting things out! SOLVED 🏁 This issue/PR is resolved now. Goal Achieved!
Projects
None yet
1 participant