LdapRecord-Laravel icon indicating copy to clipboard operation
LdapRecord-Laravel copied to clipboard

[Feature] Change location of logs

Open sambenne opened this issue 2 years ago • 1 comments

There is an option to enable logging but it would be good to have an option to change the logging channel.

sambenne avatar Mar 12 '22 07:03 sambenne

Hi @sambenne, I think this is a great idea. I'll add this in and close this issue out once complete 👍

stevebauman avatar Mar 15 '22 13:03 stevebauman

Any update to this?

sambenne avatar Feb 07 '23 12:02 sambenne

Sorry @sambenne! This slipped for a while on my radar.

I've submitted a PR just now for this functionality: https://github.com/DirectoryTree/LdapRecord-Laravel/pull/510

stevebauman avatar Feb 09 '23 14:02 stevebauman

Added in v2.7.3 🎉

The option is now available in the published LDAP configuration file:

https://github.com/DirectoryTree/LdapRecord-Laravel/blob/5f36d4ba6edbf56d97211fb892188aa6f9aceabc/config/ldap.php#L57

Run composer update, then add logging_channel to your config/ldap.php and you're all set!

Apologies again for the delay 🙏

stevebauman avatar Feb 09 '23 14:02 stevebauman