-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Log to file #46
Log to file #46
Conversation
Thank you very much, I should have done this ages ago. |
twspace_dl/__main__.py:146: error: Argument "handlers" to "basicConfig" has incompatible type "List[object]"; expected "Optional[Iterable[Handler]]"
Is this done or do you want to work on it more? |
SonarCloud Quality Gate failed. 0 Bugs No Coverage information |
Modifying logging's handler violates SonarCloud rules. Is there another workaround to log output of logging to file? I don't come up with. |
I am ready for merge. Please merge if you ok. |
It's fine, it just tells me to check for no injection. |
Closes: #2
When executing
twspace_dl -i <url>
with-l
or--log
, log file (.twspace-dl.%Y-%m-%d_%H-%M-%S_%s.log
) will be created in pwd.