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

option for log file #6990

Open
chumma12 opened this issue Sep 26, 2015 · 6 comments
Open

option for log file #6990

chumma12 opened this issue Sep 26, 2015 · 6 comments
Labels

Comments

@chumma12
Copy link

@chumma12 chumma12 commented Sep 26, 2015

Hi,
I know that the output from youtube-dl can be redirected to a log file.
I am looking for an log option of youtube-dl, so that I can configure it in youtube-dl.conf permanently and not bother with providing a log redirection for each download.
Infact, if the log file can also have options like -o parameter(then we can have log file with id in it's filename $id.log)

regards
Chumma

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 27, 2015

What you need might be writing a program embedding youtube-dl.

@chumma12
Copy link
Author

@chumma12 chumma12 commented Mar 4, 2016

All functionality can be achieved by the user writing his own program. is that any kind of solution?
For a command line utility, writing to a log file is one of the basic functionalities.

@yan12125 yan12125 added the request label Mar 4, 2016
This was referenced Mar 27, 2016
@sybaris
Copy link

@sybaris sybaris commented Jan 10, 2019

Hi,

I am also interested to have also the console display (in real time) + all in a log file.

Regards,
Sybaris

@torrobinson
Copy link

@torrobinson torrobinson commented Aug 21, 2019

Yeah I just had youtube-dl, after 2 years of use and it not having any issues, suddenly delete and re-download a bunch of stuff in a very weird way - and I can't seem to find a way to make it log so I can debug this in the future. Is there really no default logging option? Seems so trivial. It would be very helpful.

@marabu88
Copy link

@marabu88 marabu88 commented Oct 12, 2019

I would also really like to see an option that allows to save a list of links that were not loaded due to some kind of error. In addition, recently I began to get a lock due to the frequent use of YouTube :( And this option has become even more relevant, since I don’t know which videos were not downloaded.

@sergeevabc
Copy link

@sergeevabc sergeevabc commented Jun 12, 2020

Damn, make an option for logs at last! Sometimes youtube-dl is invoked in a peculiar way from 3rd party apps such as MPV and that “redirect output with 2>&1” advice is too tricky to implement there whereas a dedicated log switch would serve well.

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
6 participants
You can’t perform that action at this time.