Comments (4)
At the moment there isn't because systemd is logging into a binary-file instead of a simple text-file.
However I am already working on a solution to make that possible in the next version 😊
from homebridge-server.
Thanks for the response, after an exhaustive search I came to the same conclusion. I'm new to systemd and I didn't find a good way to output the log to a text-file. I converted my startup process to inet.d and it works well. Does the package have to be installed via sudo?
from homebridge-server.
Sorry for the trouble about your start script!
Normally you shouldn't need sudo
for the installation.
I'll try to implement a solution for systemd
in the coming days because it's very good in general.
Thanks for your patience and research! ;)
from homebridge-server.
I've added now the possibility to use the journalctl
-log with Homebridge!
What you need:
adapt your config.json
for the server as follows:
{
"platform": "Server",
"port": 8765,
"name": "Homebridge Server",
"log" : "systemd"
}
And allow the user you're using to execute homebridge to read the journalctl
-logs, whereas systemd-journal
is the journalctl
-group and homebridge
is the user executing the homebridge-service:
sudo usermod -a -G systemd-journal homebridge
Finally restart the homebridge-service and keep on logging ;)
I'll close this issue as soon as I've added this info to the documentation!
Hope you like it!
from homebridge-server.
Related Issues (20)
- Confirmation window before removing HOT 1
- Log page HOT 1
- Does not work with journalctl and sudo HOT 2
- can get it to work right HOT 3
- Reboot issue on MacOS HOT 5
- Platform not loading HOT 2
- Trying to install homebridge-server HOT 8
- npm install|uninstall not working HOT 1
- try the 'Log' page then throw this HOT 3
- Possibility to define the "system" log name HOT 1
- Platform does not load HOT 1
- Understanding the installation process HOT 2
- Can make it to work - please assist HOT 2
- Installing Error HOT 10
- log - use of journalctl requires sudo HOT 3
- Graphics changed? HOT 8
- Cannot read property HOT 2
- restart not working (Mac launchd) HOT 3
- Server working, but the site closes upon trying to make a change. HOT 1
- Nobee needs help! What is my problem? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-server.