Log, option --log, how to log in custom file? #302

Closed
opened 2026-01-19 18:29:48 +00:00 by michael · 1 comment
Owner

Originally created by @jguidini on GitHub.

Hi, I installed transfer.sh inside our cloud and was great! But I tried several ways to log outside syslog. In my case rsyslog on a Debian 8 amd64. I want to log directly in a file in a custom path.
I can do a syslog filter, of course, but I want understend why cannot do a custom path with --log option, what Im doing wrong :-).

My command line is:
/opt/transfer_sh/bin/transfer_sh --temp-path=/transfer_sh/temp --basedir=/transfer_sh/dados --listener :8081 --provider=local --log=/var/log/transfer_sh/transfer_sh.log --clamav-host=unix:/tmp/clamd.socket --virustotal-key=<key_secret> --log=/var/log/transfer_sh/transfer.log

Thanks!

Originally created by @jguidini on GitHub. Hi, I installed transfer.sh inside our cloud and was great! But I tried several ways to log outside syslog. In my case rsyslog on a Debian 8 amd64. I want to log directly in a file in a custom path. I can do a syslog filter, of course, but I want understend why cannot do a custom path with --log option, what Im doing wrong :-). My command line is: /opt/transfer_sh/bin/transfer_sh --temp-path=/transfer_sh/temp --basedir=/transfer_sh/dados --listener :8081 --provider=local --log=/var/log/transfer_sh/transfer_sh.log --clamav-host=unix:/tmp/clamd.socket --virustotal-key=<key_secret> --log=/var/log/transfer_sh/transfer.log Thanks!
Author
Owner

@paolafrancesca commented on GitHub:

@jguidini you're not doing anything wrong. it seems the --log option is not actually applied, also some log are not directed to logger but directly printed to the stdout. I will address the problem in the next days

@paolafrancesca commented on GitHub: @jguidini you're not doing anything wrong. it seems the --log option is not actually applied, also some log are not directed to logger but directly printed to the stdout. I will address the problem in the next days
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dutchcoders/transfer.sh#302