1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-09-20 14:14:03 +00:00

Use "placed within" instead of "appended to" in log bootstrapper comment

In response to https://github.com/archtechx/tenancy/pull/1479#discussion_r3876808350
This commit is contained in:
lukinovec 2026-08-31 16:28:12 +02:00 committed by Samuel Stancl
parent 41f7e2e034
commit 8e671fe5be

View file

@ -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));
}
}