Manage log directories; DRY things out a little.