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

Personal log doesn't work with --background #3455

Open
maravento opened this issue Apr 2, 2024 · 0 comments
Open

Personal log doesn't work with --background #3455

maravento opened this issue Apr 2, 2024 · 0 comments

Comments

@maravento
Copy link

maravento commented Apr 2, 2024

Describe the bug
Personal log doesn't work with --background

To Reproduce

sudo ./xmrig --algo=rx/0 --url=rx.unmineable.com:3333 --user=$coin:$address.$worker --keepalive --threads=2 --background --log-file=/home/user/my_log.log

No logs in "my_log.log
If I delete "--background" the records appear in the terminal and in the "my_log.log"

user@mst:~$ ls -l my_log.log
-rwxrwxrwx 1 user user 0 abr  3 09:17 my_log.log

Expected behavior
That the logs be saved in the custom log my_log.log and can use the --background option, so that nothing appears in the console

Required data

  • XMRig version 6.21.2
  • OS: Ubuntu 22.04
  • CPU Intel Xeon

Workaround

replace personal log with --syslog

sudo ./xmrig --algo=rx/0 --url=rx.unmineable.com:3333 --user=$coin:$address.$worker --keepalive --threads=2 --background --syslog
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

1 participant