Is there any way of a cisco router acting as a dhcp server to record the leases of its clients to a syslog server?
I'm currently using the DHCP server database agent feature to record the leases to a file through a ftp server.
debug ip dhcp server events
logging trap debugging
oughta do it.
yes, there may be unintended consequences if you enable other debugging while troubleshooting some other problem (for instance).
see also: how to make debugging settings persist across a router reboot
It seems that the only way to get them in IOS would be to turn on DHCP debugging, which can't be done as part of the boot configuration.
Any reason you can't use ISC DHCPD on a running server and have the cisco act as a DHCP relay?