chapelle-ardente
1 week ago
296
1
General

On log channel per user

Posted 1 week ago by chapelle-ardente

Hello,

I'd like to find a way to have one log channel per user.

For example the filename would look like this: logs-$userId-22-05-2020.log

But I don't think I can fetch all my users in the config/logging.php before creating my config array. And it sounds like a bad idea.

How would you do ?

Thanks

Please sign in or create an account to participate in this conversation.