Add log collection

logs: collect logs based on a string variable, and sync to base dir
Settings: add packstack collect log setting

Change-Id: If0c81f49215527b103b12a1c90f514ba974d8cf7