LdapRecord-Laravel
LdapRecord-Laravel copied to clipboard
[Feature] Change location of logs
There is an option to enable logging but it would be good to have an option to change the logging channel.
Hi @sambenne, I think this is a great idea. I'll add this in and close this issue out once complete 👍
Any update to this?
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
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 🙏