Allow limiting log to certain files

See 893e2fea941335f1f428c2e1f996e42822b0fe59.