tenancy / multi-tenant

Run multiple websites using the same Laravel installation while keeping tenant specific data separated for fully independent multi-domain setups, previously github.com/hyn/multi-tenant
https://tenancy.dev
MIT License
2.56k stars 394 forks source link

Set tenant log directory in config #956

Open webard opened 4 years ago

webard commented 4 years ago

Currently hyn/tenancy save logs to storage/app/tenancy/tenants/SOME_TENANT/logfiles.log. This is counterintuitive, because of storage/logs directory where all logs should be stored, and hard to reach because of deep of directories.

Proposed behavior

Setting log directory in config. I think storage/logs/SOME_TENANT/logfiles.log will be fine and we can quickly find them.

Current behavior

Log directory is storage/app/tenancy/tenants/SOME_TENANT/daily_log_xx.xx.xx.log. It is 4 directories deep to reach logs.


Information