Open ViBE-HU opened 7 years ago
Unfortunately I don't really have much time to develop this application, and I'd rather stick to the old principle "write programs that do one thing and do it well" -- which, in the case of indicator-ip is to display the current IP address.
Having said that, I think you can accomplish what you want already: Just start indicator-ip with the -vvv
switch to have it log debug messages, then redirect the output to a file:
indicator-ip -vvv > /tmp/indicator-ip.log
It will output "Fetching new external IP from ..." whenever the network status changes. If you then feed this file to grep
you have your desired output -- almost, because I would need to tweak the application to log the new IP as well. Currently it only logs the source of the IP.
Some ISP's change subscriber's IP frequently but some reasons maybe users would like to know how often and how long they get/had that IP. Could you add an option to log for example the last 10 IP and their lease time please?