save top directory in log commands
Merge pull request #744 from aaa707/master

save top directory in log commands