Archive:HOW-TO:Send xbmc.log to rsyslog
Jump to navigation
Jump to search
The following has been tested with Ubuntu 10.04 and should work with any distribution which include rsyslog and the imfile module.
- Create the following file with contents as below:
/etc/rsyslog.d/10-xbmc.conf
Note: Text in bold will need to be adapted to value which are relevant to your system.
# $ModLoad imfile # # /home/xbmc/.xbmc/temp/xbmc.log $InputFileName /home/xbmc/.xbmc/temp/xbmc.log $InputFileTag tag_xbmc_log: $InputFileStateFile xbmc_log $InputFileSeverity debug $InputFileFacility local3 $InputRunFileMonitor # # check for new lines every 10 seconds $InputFilePollingInterval 10 # # send the log to a remote host: (optional) local3.debug @<remote_host>
- restart rsyslog:
sudo restart rsyslog