مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2026-01-17 05:33:35 +00:00
refactor: remove old logging defaults based on /opt/postal
هذا الالتزام موجود في:
@@ -37,8 +37,6 @@ module Postal
|
||||
@config_root ||= begin
|
||||
if ENV['POSTAL_CONFIG_ROOT']
|
||||
Pathname.new(ENV['POSTAL_CONFIG_ROOT'])
|
||||
elsif __FILE__ =~ /\A\/opt\/postal/
|
||||
Pathname.new("/opt/postal/config")
|
||||
else
|
||||
Pathname.new(File.expand_path("../../../config/postal", __FILE__))
|
||||
end
|
||||
@@ -49,8 +47,6 @@ module Postal
|
||||
@log_root ||= begin
|
||||
if config.logging.root
|
||||
Pathname.new(config.logging.root)
|
||||
elsif __FILE__ =~ /\/opt\/postal/
|
||||
Pathname.new("/opt/postal/log")
|
||||
else
|
||||
app_root.join('log')
|
||||
end
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم