See first.

Then, add to your gokr-packer invocation.

Configure the listening address through a flag:

mkdir -p flags/
echo '-listen=' > flags/

Usage Examples

To follow logs of a specific host live, install for SSH access and use:

ssh router7 tail -f '/perm/syslogd/scan2drive/*.log'

You can also follow all logs:

ssh router7 tail -f '/perm/syslogd/*/*.log'

To search through old logs, grep through *.log for the last two days:

ssh router7 grep rror '/perm/syslogd/scan2drive/*.log'

…or zgrep through *.log.gz for older logs (not included in busybox unfortunately):

sshfs router7:/perm/syslogd /mnt/syslogd
zgrep rror /mnt/syslogd/scan2drive/*.log.gz


View Github