-
Notifications
You must be signed in to change notification settings - Fork 210
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
[BUG]: info log being redirected to /var/log/syslog file #2171
Comments
That commit should make it so that when building with The syslog issue is a bit stranger though. It only happens when launched from file manager, not from CLI. Testing some other AppImages for other apps I've had downloaded exhibited the same behaviour. The app uses spdlog which should not put logs into syslog unless using with The logs shown in syslog are prefixed with |
If we remove The logs it misses are
The first two we can simply delete. The third is a response from https://github.com/KomodoPlatform/atomicDEX-Desktop/blob/dev/src/core/atomicdex/utilities/kill.cpp#L29 which we could handle better by checking if a process exists before going in for the kill. Personally, I like my console logs, even if they end up in syslog. We could make the console logging suppressed for Release tho, and keep it active in debug. |
Describe the bug
The latest desktop version 0.5.7 redirecting & displaying info logs in
/var/log/syslog
file. Thesyslog
file is mostly for the system info which is great to find critical info about the system. App logs has specific path or atomicDEX even can create a subdir inside/var/log
dir if that is the desired place. However, there is already another dir/home/USER/.atomic_qt/logs
where atomicDEX logs and mm2 logs being written. So, writing atomicDEX logs in syslog file doesn't make sense and this increases the syslog file size dramatically.To Reproduce
Steps to reproduce the behavior:
Type the following while atomicDEX instance is running in a system and logged in (like an user would do)
Expected behavior
No atomicDEX logs in the
syslog
file and keep atomicDEX logs file inside/home/USER/.atomic_qt/logs/
dir.Operating Environment(s):
Used this specific release file - https://github.com/KomodoPlatform/atomicDEX-Desktop/releases/download/0.5.7-beta/atomicdex-desktop-0.5.7-beta-ubuntu-appimage.zip
I just downloaded zip file, unzipped to get the appimage, allowed it to be executable from properties and double-clicked to run the app.
Additional context
Sample from the syslog file
The text was updated successfully, but these errors were encountered: