The full URL is one level higher up in the protocol stack than just the domain name. In order to log the full URL, you need something which can scan the HTTP protocol.
The easiest way to do this is to set up a (transparent) proxy server and have all web traffic routed through this proxy. This will give you a log with the full URL's.
An easy to set up proxy on Linux is squid.