rename 'state' dir to 'log'