Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
'errors' in log that aren't really errors
« previous
next »
Print
Pages: [
1
]
Author
Topic: 'errors' in log that aren't really errors (Read 2468 times)
Christophe999s
Newbie
Posts: 25
Karma: 4
'errors' in log that aren't really errors
«
on:
January 27, 2022, 07:49:08 pm »
Hi,
First of all, upgrade went smoothly, thanks for the hard work to all the devs!
Is there a reason why some entries in the general log are categorized as error, while they look like notifications to me?
For example:
2022-01-27T19:33:31 Error opnsense /usr/local/etc/rc.newwanip: ROUTING: IPv4 default gateway set to wan
2022-01-27T19:33:31 Error opnsense /usr/local/etc/rc.newwanip: ROUTING: keeping current default gateway 'x.x.x.x'
2022-01-27T19:33:31 Error opnsense /usr/local/etc/rc.newwanipv6: IPv6 renewal is starting on 'em0'
2022-01-27T19:33:34 Error opnsense /usr/local/etc/rc.newwanipv6: Dynamic DNS: (Success) IP Address Updated Successfully!
That last one gives off a task failed successfully vibe
Logged
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: 'errors' in log that aren't really errors
«
Reply #1 on:
January 27, 2022, 07:50:58 pm »
Historically in the PHP code logging was done using the log_error() function, which, as you can guess.. logs everything in error severity.
We're going to change it but it's not a pressing issue. Certainly not for a release that isn't even a day old.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
'errors' in log that aren't really errors