config: put the exchange log in the data dir
change wmsssnxlnqkquvrtnstwzkymnmyrnxmq
commit 8af2a1b11bafbe78e0cf99b473e5dd5530c6530c
author Alpha Chen <alpha@kejadlen.dev>
date
parent tzwvrkqz
diff --git a/lib/pro_tacts/config.rb b/lib/pro_tacts/config.rb
index 9b3c906..3aafa2f 100644
--- a/lib/pro_tacts/config.rb
+++ b/lib/pro_tacts/config.rb
@@ -58,7 +58,7 @@ module ProTacts
     # committed. See ProTacts::ExchangeLog.
     #: () -> String
     def exchange_log_path
-      @env.fetch("PRO_TACTS_EXCHANGE_LOG", "log/exchange.log")
+      @env.fetch("PRO_TACTS_EXCHANGE_LOG", data_dir / "log/exchange.log")
     end
 
     # The CardDAV account's display name, PRO_TACTS_PROFILE_NAME — what