hzeller / gmrender-resurrect

Resource efficient UPnP/DLNA renderer, optimal for Raspberry Pi, CuBox or a general MediaServer. Fork of GMediaRenderer to add some features to make it usable.
GNU General Public License v2.0
832 stars 202 forks source link

is logging to a remote server possible ? #88

Closed webattitude closed 8 years ago

webattitude commented 8 years ago

I'm trying to avoid extra writes to sd card, on the pi, so I'd like to use a remote server for logging. Is it possible ?

hzeller commented 8 years ago

Right now, logging just goes to a file, but you can modify it to use syslog instead (which then, in turn, can be configured to remotely log). Place to start: src/logging.c

(and if you have done it, consider a pull request)

webattitude commented 8 years ago

It looks like rsyslog is already capable to send local log file to a remote server. Thanks