Use HOMEBREW_LOGS more consistently.
Allow configuring HOMEBREW_LOGS.