Merge pull request #1 from xaicron/master

Added base_dir option and cleanup codes
Update pod
use cpanfile
Fixed trace level for log_to
Forgot use