Skip to content

Commit

Permalink
patch related to bug 5, sudomesh/bugs#5
Browse files Browse the repository at this point in the history
  • Loading branch information
paidforby committed Feb 21, 2018
1 parent 5bcfd9f commit 13fd952
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions configs/templates/files/etc/config/system
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
config system
option hostname <%= host_name %>
option timezone PST8PDT,M3.2.0,M11.1.0
<% if (typeof log_ip === 'string' && log_ip.trim() !== '') { %>
option log_ip <%= log_ip %>
option log_size 500
option log_file /var/log/messages

This comment has been minimized.

Copy link
@bennlich

bennlich Feb 26, 2018

Contributor

I'm pretty sure deleting line 7 is what prevents any logs from being saved whatsoever. This behavior would be consistent w/ documentation https://wiki.openwrt.org/doc/uci/system. I'll verify on a real node before adding it back.

This comment has been minimized.

Copy link
@paidforby

paidforby Feb 26, 2018

Author Contributor

seems logical, not sure why the log ip was an outside ip address and not something like loopback or the gateway address. We should also investigate the blinky light situation while we're looking at this file.

option log_proto udp
option log_port 514
option log_prefix <%= host_name %>
<% } %>

0 comments on commit 13fd952

Please sign in to comment.