Fix logrotate issue.

logger is not being re-initialised after logrotate.
Merge pull request #69 from bpwook/logrotate_fix

Fix logrotate issue.
Change method of unplugging pif

When disallow-unplug of PIF config is true, it will fail.
Now ACKy changes setting if it is true before unplug a pif.