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:
parent
41f7e2e034
commit
8e671fe5be
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
// 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),
|
// 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));
|
$this->config->set("logging.channels.{$channel}.path", $tenantStoragePath . Str::after($originalChannelPath, $centralStoragePath));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue