Skip to content

Conversation

morloderex
Copy link
Contributor

@morloderex morloderex commented Sep 29, 2019

Backstory:

I am currently working on a little multi-tenancy project. In order for me to ease the development i did a little research and found the tenancy/tenancy origanisation was building a new package(s). Specifically tailored to my needs. It is not released yet. So I thought i might help them out with the development of it.

Motivation:

By doing some digging into their implementation of their log affect, I discovered that they are trying to delete the resolved channel/driver at runtime in order for the logging to be recreated for the same driver/channel but with different configuration keys/values.

But they currently have to recreate the entire LogManager instance as the LogManager currently does not have the ability to delete a resolved channel. I found that we have a purge method (aliased to disconnect) on the DatabaseManager. So i figured why not make it possible here as well?

This is what this pr is all about, the ability to delete a resolved log channel/driver.

@morloderex morloderex changed the title Add the ability to delete a resolved log driver/channel [6.x] Add the ability to delete a resolved log driver/channel Sep 29, 2019
@taylorotwell taylorotwell merged commit cf00422 into laravel:6.x Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants