Hi,
How do I set up logging via Luci?
It is asking for the external server ip address and server port! Do I need to be running a program, etc on that server?
Thanks,
Aaron
Hi,
How do I set up logging via Luci?
It is asking for the external server ip address and server port! Do I need to be running a program, etc on that server?
Thanks,
Aaron
https://openwrt.org/docs/guide-user/base-system/log.essentials#network_logging
you need to receive the logs somewhere, no ?
You need to be running syslog remote receiver, syslogd -r, on that host, it is a software program, not abackus.
can't log sh-t using an abacus, my friend
This is how I I currently have the OpnWRT logging configured:
config system
option hostname 'OpenWrt'
option timezone 'ACST-9:30ACDT,M10.1.0,M4.1.0/3'
option ttylogin '0'
option log_size '64'
option urandom_seed '0'
option compat_version '1.1'
option description 'Bedroom Router'
option zonename 'Australia/Adelaide'
option log_proto 'tcp'
option conloglevel '4'
option cronloglevel '8'
option log_ip '192.168.1.180'
option log_file '/tmp/syslog'
config timeserver 'ntp'
list server '0.openwrt.pool.ntp.org'
list server '1.openwrt.pool.ntp.org'
list server '2.openwrt.pool.ntp.org'
list server '3.openwrt.pool.ntp.org'
On the remote host or OpenWRT?
/tmp is RAM, you reboot, it's gone, assuming .180 is the IP of the device you want to be logging.
both, check the links at the bottom of the page you were given.
Thanks! I will make sure to change that when I have everything setup.
Collected errors:
need to uninstall logd 1st.