Add resetcurrenttime and some logs.
Merge pull request #22 from dlxswangli/branch-resettime

Add resetcurrenttime and some logs.