Add a convenient way to get logs of a path/drv. Requested by phreedom.