Should this set a variable? It seems only to fetch the log device.