Add a per-log-id retrieval

Signed-off-by: Julien Danjou <julien@danjou.info>