Closed EricTendian closed 2 years ago
Thanks for your pull request. Is this your first contribution to a Snowplow open source project? Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://docs.snowplowanalytics.com/docs/contributing/contributor-license-agreement/ to learn more and sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.
@snowplowcla I signed it.
Confirmed! @EricTendian has signed the Contributor License Agreement. Thanks so much.
Thanks for the contribution. We have a PHP Tracker release tentatively planned for December. So, pending testing and approval, we will look to include this PR in that release.
This allows the
$log_dir
value to be set differently than just wherever the library is installed, for environments where thevendor
directory is not writeable. When constructing the FileEmitter, a user can now specify some other directory like/tmp/
for the various event and worker subdirectories to be created.I've added a test to prove the logic works.