1. generate pid file when startup
2. if big file borned in /var/log, it would be truncate to 0 nor del it.
3. when collect old file in directory, only size greater than 1M would be collected.
4. Support specify expire date for each directory.