Page 1 of 2

log_ip

Posted: Fri Sep 09, 2011 4:37 pm
by hnl_dk
Hello

I think it would be very useful if it would be possible to set log_ip from the webinterface. I have now set it with SSH:

Code: Select all

uci set system.@system[0].log_ip=192.168.254.1
uci commit
reboot
But I think that it could be useful for other people.

Re: log_ip

Posted: Sat Sep 10, 2011 5:49 am
by hnl_dk
Just to make sure that everyone knows...
If setting log_ip all syslog messages gets sent to that IP address (where a syslog server should be running).
Perhaps it should also be possible to change the port number, in case it has been changed. To change the port number you also need to set log_port.

Re: log_ip

Posted: Thu Oct 27, 2011 9:06 pm
by mrfta
as I enter the router without rebooting Hise as changes that will not want to lose ... greetings

Re: log_ip

Posted: Sun Dec 18, 2011 2:23 am
by jaykumar2001
Any idea how to increase the log level of syslog, I want everything from logread/dmesg logged into remote syslog.

Re: log_ip

Posted: Sun Dec 18, 2011 2:50 am
by hnl_dk
jaykumar2001 wrote:Any idea how to increase the log level of syslog, I want everything from logread/dmesg logged into remote syslog.
Set a higher loglevel, with the following option: conloglevel
For example:

Code: Select all

uci set system.@system[0].conloglevel=7
uci commit
reboot
This will make it show everything except debugging messages.

Re: log_ip

Posted: Sun Jan 08, 2012 5:49 am
by Culex
How do i show everything included debug messages?

Re: log_ip

Posted: Sun Jan 08, 2012 7:00 am
by hnl_dk
Culex wrote:How do i show everything included debug messages?
debug messages should not be used during operation, it would simply make the router very slow. Normally it will only be the developers who would need the debug information.

Re: log_ip

Posted: Sun Jan 08, 2012 12:54 pm
by Culex
I'm asking cause of intermitted wireless lockups, but I'm not sure if B43 is compiled with B43_DEBUG. Also in the syslog it doesn't show the ip of the router which can be difficult to distinguish between routers and repeaters.

Re: log_ip

Posted: Sun Jan 08, 2012 2:28 pm
by hnl_dk
Culex wrote:I'm asking cause of intermitted wireless lockups, but I'm not sure if B43 is compiled with B43_DEBUG. Also in the syslog it doesn't show the ip of the router which can be difficult to distinguish between routers and repeaters.
I do not think that it is.
You get the MAC address (and the IP address of the router sending the log), that should be more "safe" than the IP address.

Re: log_ip

Posted: Fri Jun 13, 2014 6:27 pm
by nieroster
hnl_dk wrote:Hello

I think it would be very useful if it would be possible to set log_ip from the webinterface. I have now set it with SSH:

Code: Select all

uci set system.@system[0].log_ip=192.168.254.1
uci commit
reboot
But I think that it could be useful for other people.
how do I turn it off again? Is it something like:

Code: Select all

uci set system.@system[0].log_ip=
uci commit
reboot
What is the default syslog level to return to?

regards,
nieroster