[FS#99] hostname and syslog

LEDE Bugs lede-bugs at lists.infradead.org
Thu Aug 18 09:42:26 PDT 2016


A new Flyspray task has been opened.  Details are below. 

User who did this - Andrzej (andriej) 

Attached to Project - LEDE Project
Summary - hostname and syslog
Task Type - Bug Report
Category - Packages
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - There were two issues to solve, which are not quite straightforward especially via the LuCi:

1) Default protocol of logread/syslog is UDP. If you want to switch it, there's no option in LuCI interface which could lead many users to misunderstanding that it's not supported. It is, and I guess it should be available in LuCI also (instead of only log_proto in UCI)

2) Hostname of logread. Currently logread supports -h flag (-h hostname) to change the situation of localhost.localdomain appearing in remote syslog. 
/etc/init.d/log in validate_log_section() should also get the 'hostname' parameter from config/system, which would resolve the problem.

Issues reported 12 months ago: https://dev.openwrt.org/ticket/20385#ticket I hope it can get fixed straight away in LEDE.

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=99



More information about the lede-bugs mailing list