Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log files dumping in document root #71

Open
michaelthedev opened this issue May 15, 2024 · 0 comments
Open

Log files dumping in document root #71

michaelthedev opened this issue May 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@michaelthedev
Copy link

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

$log->pushHandler(new RotatingFileHandler(__DIR__ . "../../../../../../" . self::LOG_FILE_NAME, 90));

$this->logger->pushHandler(new RotatingFileHandler(__DIR__ . "../../../../../../" . self::LOG_FILE_NAME, 90));

@Abraham-Flutterwave Abraham-Flutterwave added the enhancement New feature or request label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants