Allow programmatically to set log collection
v0.8.2