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
Remote Syslog keeps sending to old target #4121
Comments
This also happens with OPNsense 20.1.4. |
it's a leftover from an older version, see #4060 (comment) |
@AdSchellevis thanks a lot. Do you think this will be fixed soon? I would wait then and give feedback as tester ;-) |
just remove the file as mentioned in the comment |
Me too, |
Do a fgrep with your syslog IP over /usr/local/etc. |
|
Hi, thanks, but
so I think 1) was wrong command ?! Greets Byte |
fgrep -r .. |
OK thanks, found it now. I deleted legacy-remote.conf now, restart service and logging stops! Thanks.
Is the config normal? I don´t want to log to much data. Greets Byte |
Might be better to make legacy.conf an empty template and remove in next major version?
… On 4. Oct 2020, at 10:34, Bytechanger ***@***.***> wrote:
OK thanks, found it now.
I deleted legacy-remote.conf now, restart service and logging stops! Thanks.
One more question, do I need
/usr/local/etc/syslog-ng.conf.d/legacy.conf ?
It sounds like an "old" config?!
#
# OPNsense legacy log target
# send all received local events to platform standard syslogd
#
destination legacy_dst {
unix-dgram("/var/run/legacy_log" flags(syslog-protocol));
};
log {
source(s_all);
destination(legacy_dst);
};
Is the config normal? I don´t want to log to much data.
Greets
Byte
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@fichtner I don't think we should do anything, the major upgrade change log (https://docs.opnsense.org/releases/20.1.html?highlight=syslog#january-30-2020) clearly stated which steps to perform before upgrade, you are allowed to keep old configs, but the system won't manage them anymore in that case. |
This issue has been automatically timed-out (after 180 days of inactivity). For more information about the policies for this repository, If someone wants to step up and work on this issue, |
I recently changed the Remote Syslog Target in OPNsense 20.1.2 (https:///ui/syslog/) and applied the change. I confirmed it by checking the incoming logs at the new Syslog Server.
Today i wanted to shut down the old Syslog Server and have seen, that the OPNsense System is still sending the events to the old Syslog Target as well.
The section "System: Settings: Logging / targets" only shows the new Syslog Target. Even restarting the service "syslog-ng" doesn't fix it.
Information: i'm using explicit ip-addresses for the Logging targets and not DNS.
Thanks,
Wolfgang
The text was updated successfully, but these errors were encountered: