-
Notifications
You must be signed in to change notification settings - Fork 213
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
Logfile in case of systemd service #30
Comments
By default: /var/log/mbus.log This is staticly defined in the log.h file. Lines 42 to 43 in 8f2ccf1
Currently its not possible to set it in the configuration file. |
What you can do though is change the ExecStart= line in the systemd mbusd/systemd-units/mbusd@.service.in Line 6 in 8f2ccf1
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/mbusd -d -v2 -L - -c @CMAKE_INSTALL_FULL_SYSCONFDIR@/mbusd/mbusd-%i.conf -p /dev/%i change the -L - to the directory and file that you would like the log file to be: E.g. ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/mbusd -d -v2 -L /var/log/mbusd/mbusd.log -c @CMAKE_INSTALL_FULL_SYSCONFDIR@/mbusd/mbusd-%i.conf -p /dev/%i |
Hi, I've already changed -L - to -L /var/log/mbusd/%i before creating my deb package. |
Hi, what is logfile in case of MBUSD systemd service?
Is it posible to specify it in conf file?
Thanks
The text was updated successfully, but these errors were encountered: