Re: [Ddclient-support] Log file
Brought to you by:
supersandro2000,
wimpunk
From: Josu L. <jos...@gm...> - 2011-05-20 19:10:44
|
2011/5/20 Torsten Landschoff <t.l...@gm...>: > On Fri, 2011-05-20 at 10:21 +0200, Josu Lazkano wrote: >> Hello. I just installed ddclient on a Debian server and I want to know >> if there a option to have a log file to check the daemon. > > There is the -syslog option (enabled by default on Debian) which uses > the system log daemon to log information. The result is usually found > in /var/log/daemon.log: > > root@pluto:/home/torsten# grep ddclient /var/log/daemon.log > May 17 04:18:53 pluto ddclient[697]: SUCCESS: updating XXXXXX.dyndns.org: good: IP address set to 123.28.190.18 > May 18 04:07:55 pluto ddclient[697]: SUCCESS: updating XXXXXX.dyndns.org: good: IP address set to 123.18.50.23 > May 19 04:09:11 pluto ddclient[697]: SUCCESS: updating XXXXXX.dyndns.org: good: IP address set to 123.18.80.46 > > Good luck! > > Torsten > > > Thanks again, I check the /car/log/daemon.log and it is there!!! May 19 20:10:27 htpc ddclient[1726]: WARNING: cannot connect to checkip.dyndns.org:80 socket: IO::Socket::INET: Bad hostname 'checkip.dyndns.org' May 19 20:16:07 htpc ddclient[1726]: WARNING: cannot connect to checkip.dyndns.org:80 socket: IO::Socket::INET: Bad hostname 'checkip.dyndns.org' May 19 20:21:10 htpc ddclient[1726]: SUCCESS: updating subdomain.domain.com: good: IP address set to 188.77.225.4 May 20 01:57:08 htpc ddclient[1726]: WARNING: cannot connect to checkip.dyndns.org:80 socket: IO::Socket::INET: Bad hostname 'checkip.dyndns.org' May 20 02:02:48 htpc ddclient[1726]: WARNING: cannot connect to checkip.dyndns.org:80 socket: IO::Socket::INET: Bad hostname 'checkip.dyndns.org' May 20 02:08:28 htpc ddclient[1726]: WARNING: cannot connect to checkip.dyndns.org:80 socket: IO::Socket::INET: Bad hostname 'checkip.dyndns.org' May 20 02:14:08 htpc ddclient[1726]: WARNING: cannot connect to checkip.dyndns.org:80 socket: IO::Socket::INET: Bad hostname 'checkip.dyndns.org' May 20 02:19:48 htpc ddclient[1726]: WARNING: cannot connect to checkip.dyndns.org:80 socket: IO::Socket::INET: Bad hostname 'checkip.dyndns.org' May 20 02:24:50 htpc ddclient[1726]: SUCCESS: updating subdomain.domain.com: good: IP address set to 188.77.252.109 May 20 03:10:32 htpc ddclient[1726]: WARNING: cannot connect to checkip.dyndns.org:80 socket: IO::Socket::INET: Bad hostname 'checkip.dyndns.org' May 20 03:15:33 htpc ddclient[1726]: SUCCESS: updating subdomain.domain.com: good: IP address set to 188.77.237.45 I am getting some warnings, I will change the ipcheck page, any alternative? Is possible to add a log file on the config to output all data to and specific file? Thanks for your help. Kind regards. -- Josu Lazkano |