-
Notifications
You must be signed in to change notification settings - Fork 88
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
Logs not works anymore #145
Comments
I just tested it and it works fine. Ensure permissions where the log file is, directory may not have write permissions to user running xmrig. Or, "touch" the file and set wide open permissions on it so xmrig can append. |
you can also use a systemctl service to track logs |
Already done before and working fine is not permision issue or whatever. Other report same issue i had xmrig#3455
Already do that and i don't like journal. |
Ahh, the actual I will look into that. |
I'm not sure if you understand my issue. I had already systemd script which point to config file and config file i set background and log-file option. Other guy have same issue as me, he do it in command line which is currently the same. |
What is the point of using |
I never able to run xmrig in background with systemd and the only option i can do this is with --background. Also what i say before, logs i don't like logs in the journal i perfer use log file. |
Then make an appropriate service file (
When the This runs xmrig in the background just fine without using xmrig |
Also I traced all the xmrig code and log messages are sent to uv_fs_write just like they are when it's not forked to background, so the bug must be within libuv somehow. Above my paygrade. |
Oh also this is an issue upstream so complain there or bump the issue you linked. It's not a MoneroOcean bug. Commit that probably broke it: xmrig@688d4f5 |
Looking for more deep because was working fine before i finally see where is come this "problem" This is the last build working fine v6.21.1-mo1/v6.21.1. Start build v6.21.2-mo1/v6.21.2 is where come the issue, the commit you link was in v6.21.3 may or may not be related, but what i can see is started in v6.21.2. |
Has been fixed in upstream |
Describe the bug
Logs not working if you setup as background mode
To Reproduce
Run xmrig as backgroud with log file setup
Expected behavior
It should run just fine.
Required data
The text was updated successfully, but these errors were encountered: