Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add an option to set a remote syslog-server #52

Closed
pidator opened this issue Nov 27, 2020 · 3 comments
Closed

Feature Request: Add an option to set a remote syslog-server #52

pidator opened this issue Nov 27, 2020 · 3 comments

Comments

@pidator
Copy link
Contributor

pidator commented Nov 27, 2020

Could you implement a new parameter to configure/set a remote syslog-server (IP:Port) directly during image building?

For ubuntu-firmware it will be necessary to add the following line at the end of file /etc/rsyslog.conf:

*.* @IP:Port

For busybox firmware it will be necessary to replace line 3 of /etc/init/S01logging:

original: SYSLOGD_ARGS=-n
new: SYSLOGD_ARGS="-n -R IP:Port -L -O /var/log/messages"

Greetings

@zvldz
Copy link
Owner

zvldz commented Nov 27, 2020

Done 3e0d037

But I didn't check on ubuntu fw.

@pidator
Copy link
Contributor Author

pidator commented Nov 27, 2020

Thanks for the fast reaction.
Tested with my PR #53 and it's working on both firmwares!

@pidator
Copy link
Contributor Author

pidator commented Nov 29, 2020

successful implemented - thanks :)

@pidator pidator closed this as completed Nov 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants