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

[Feature request] Log output to a file #74

Open
MXC1 opened this issue Dec 28, 2024 · 1 comment
Open

[Feature request] Log output to a file #74

MXC1 opened this issue Dec 28, 2024 · 1 comment

Comments

@MXC1
Copy link

MXC1 commented Dec 28, 2024

It'd be useful if slsk-batchdl would output logs and errors to a file.
If you have slsk-batchdl running on a cron job / scheduled task, you might not be able to see the output and whether everything was successful.

@fiso64
Copy link
Owner

fiso64 commented Dec 30, 2024

This is normally done by redirecting the output to a file, e.g

sldl input >> log.txt 2>&1

although I'm now noticing that sldl does not behave correctly when the output is redirected. It exits almost immediately.

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

No branches or pull requests

2 participants