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

Add pfSense version to syslog (remote syslog more importantly) on bootup #1230

Closed
wants to merge 1 commit into from
Closed

Conversation

agibson2
Copy link
Contributor

@agibson2 agibson2 commented Jun 8, 2014

Feature request on redmine at https://redmine.pfsense.org/issues/3699
Discussion on the forum at https://forum.pfsense.org/index.php?topic=77713.0

This allows a remote syslog server to get log entries to have a history of what pfSense versions were running over time. dmesg.boot does at least log the kernel build time but that is overwritten on every boot. System.log does log the kernel version on the local system but system.log is too small to contain a history. The kernel version is not sent to remote syslog servers because it is logged locally before network is up, etc.

This change allows remote syslog servers to log the current version, arch, platform (cdrom, nanobsd, pfSense, etc) of the firewalls on bootup.

@agibson2
Copy link
Contributor Author

agibson2 commented Jun 9, 2014

I think I should rename the variables to not have the pfsense name in them. I should have used generic variable names the more I think about it. If so then I assume this pull request can be cancelled and I will submit a new one.

@agibson2 agibson2 closed this Jun 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant