PHP icon indicating copy to clipboard operation
PHP copied to clipboard

Log files dumping in document root

Open michaelthedev opened this issue 9 months ago • 0 comments

Description

If you could consider NOT dumping log files in the root directory by default. An option to set log path or debug() function would be good

Steps to Reproduce

  1. Direct card debit using the sdk
  2. Check your document root to see the log files

Reproduces how often

With Monolog, every day a new file is created

Configuration

  • API Version: v3
  • Environment: test mode
  • Browser: not applicable
  • Language: PHP 8.3

Additional Information

https://github.com/Flutterwave/PHP-v3/blob/bc2ad8eb4e45104651663c29f730e6707333a76d/src/Helper/Config.php#L50

https://github.com/Flutterwave/PHP-v3/blob/bc2ad8eb4e45104651663c29f730e6707333a76d/src/Config/PackageConfig.php#L25

michaelthedev avatar May 15 '24 18:05 michaelthedev