DrayTek UK Users' Community Forum
Help, Advice and Solutions from DrayTek Users
Vigor 2766ac syslog prefix
- xer0w
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 0
26 Jul 2023 21:35 #102691
by xer0w
Vigor 2766ac syslog prefix was created by xer0w
I've just noticed that the syslog entries for my Vigor 2766 router are written with the old 2762 prefix:
Jul 26 21:29:42 vigor2762 DrayTek:
I'm writing out to a syslog server on port 514 using rsyslog.
Not a major issue, but I suspect a bug that needs squashing.
I'm writing out to a syslog server on port 514 using rsyslog.
Not a major issue, but I suspect a bug that needs squashing.
Please Log in or Create an account to join the conversation.
- HodgesanDY
- Offline
- Member
Less
More
- Posts: 208
- Thank you received: 17
27 Jul 2023 07:42 #102692
by HodgesanDY
Replied by HodgesanDY on topic Re: Vigor 2766ac syslog prefix
Check your ‘Router Name’.
See top of Dashboard view, and click ‘Router Name’; it may have carried forward from a backup/restore.
Try renaming it.
See top of Dashboard view, and click ‘Router Name’; it may have carried forward from a backup/restore.
Try renaming it.
Please Log in or Create an account to join the conversation.
- xer0w
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 0
27 Jul 2023 10:53 #102694
by xer0w
Replied by xer0w on topic Re: Vigor 2766ac syslog prefix
Router name is DrayTek.
There's no prefix string in the syslog settings either, so it must be hard coded.
There's no prefix string in the syslog settings either, so it must be hard coded.
Please Log in or Create an account to join the conversation.
- HodgesanDY
- Offline
- Member
Less
More
- Posts: 208
- Thank you received: 17
27 Jul 2023 12:26 #102695
by HodgesanDY
Replied by HodgesanDY on topic Re: Vigor 2766ac syslog prefix
Strange. You might be right then, it may be a bug.
I have just tested this on a 2862 and a 2927 and the syslog carries the ‘Router Name’ immediately after the date and time; with no reference to the ‘Model Name’ field.
I would still try changing the router name, it might force a correction in the code…? Worth a try.
I have just tested this on a 2862 and a 2927 and the syslog carries the ‘Router Name’ immediately after the date and time; with no reference to the ‘Model Name’ field.
I would still try changing the router name, it might force a correction in the code…? Worth a try.
Please Log in or Create an account to join the conversation.
- xer0w
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 0
27 Jul 2023 15:03 #102697
by xer0w
Replied by xer0w on topic Re: Vigor 2766ac syslog prefix
So, I setup another syslog server to test, and the prefix wasn't present. Must be something local...
Turns out I had a hosts file entry on the syslog server for the old router, which the DrayTek uses as a prefix if present. Interesting.
Turns out I had a hosts file entry on the syslog server for the old router, which the DrayTek uses as a prefix if present. Interesting.
Please Log in or Create an account to join the conversation.
Moderators: Chris, Sami
Copyright © 2024 DrayTek