From 8e671fe5bef82690eadc2336253e74d2420ec2bd Mon Sep 17 00:00:00 2001 From: lukinovec Date: Mon, 31 Aug 2026 16:28:12 +0200 Subject: [PATCH] Use "placed within" instead of "appended to" in log bootstrapper comment In response to https://github.com/archtechx/tenancy/pull/1479#discussion_r3876808350 --- src/Bootstrappers/LogChannelBootstrapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bootstrappers/LogChannelBootstrapper.php b/src/Bootstrappers/LogChannelBootstrapper.php index af30733a..36ed32f9 100644 --- a/src/Bootstrappers/LogChannelBootstrapper.php +++ b/src/Bootstrappers/LogChannelBootstrapper.php @@ -155,7 +155,7 @@ class LogChannelBootstrapper implements TenancyBootstrapper // The tenant log will inherit the segment that follows the storage path from the central channel path config. // For example, if a channel's path is configured to storage_path('logs/foo.log') (storage/logs/foo.log), - // the '/logs/foo.log' segment will be appended to the tenant storage path (so the log will be located at storage/tenant123/logs/foo.log). + // the '/logs/foo.log' segment will be placed within the tenant storage path (so the log will be located at storage/tenant123/logs/foo.log). $this->config->set("logging.channels.{$channel}.path", $tenantStoragePath . Str::after($originalChannelPath, $centralStoragePath)); } }