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

Flags for output control #25224

Closed
nbgibson opened this issue May 10, 2020 · 2 comments
Closed

Flags for output control #25224

nbgibson opened this issue May 10, 2020 · 2 comments

Comments

@nbgibson
Copy link

@nbgibson nbgibson commented May 10, 2020

Checklist

  • I'm reporting a feature request
  • I've verified that I'm running youtube-dl version 2020.05.08
  • I've searched the bugtracker for similar feature requests including closed ones

Description

The addition of some flags to control output for automated YTDL jobs would be appreciated. eg- Loglevel, timestamps, formatting, ect.

@nbgibson nbgibson added the request label May 10, 2020
@nbgibson
Copy link
Author

@nbgibson nbgibson commented May 10, 2020

For folks that may be looking for this at a later point, it is possible to add timestamps via wrapping the output via a few different methods as detailed here: https://stackoverflow.com/a/25764579/11086171

Piping output through awk '{ print strftime("%c: "), $0; fflush(); }' before redirecting to your output log file should do you fine. For more formatting options refer to: https://strftime.org/

@nbgibson nbgibson changed the title Add option to include timstamps in output Flags for output control May 10, 2020
@nbgibson
Copy link
Author

@nbgibson nbgibson commented May 10, 2020

Updated feature request as timestamps can be addressed fairly easily externally, but there is currently a lack of log control with the program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.