Skip to content

Commit

Permalink
Merge pull request #3751 from nextcloud/enh/noid/log-whole-logs
Browse files Browse the repository at this point in the history
  • Loading branch information
szaimen authored Nov 15, 2023
2 parents 2f56756 + cfeb8d8 commit e60331e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions php/public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
// set max execution time to 2h just in case of a very slow internet connection
ini_set('max_execution_time', '7200');

// Log whole log messages
ini_set('log_errors_max_len', '0');

use DI\Container;
use Slim\Csrf\Guard;
use Slim\Factory\AppFactory;
Expand Down
3 changes: 3 additions & 0 deletions php/src/Cron/StartAndUpdateContainers.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
// increase memory limit to 2GB
ini_set('memory_limit', '2048M');

// Log whole log messages
ini_set('log_errors_max_len', '0');

use DI\Container;

require __DIR__ . '/../../vendor/autoload.php';
Expand Down
3 changes: 3 additions & 0 deletions php/src/Cron/StartContainers.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
// increase memory limit to 2GB
ini_set('memory_limit', '2048M');

// Log whole log messages
ini_set('log_errors_max_len', '0');

use DI\Container;

require __DIR__ . '/../../vendor/autoload.php';
Expand Down

0 comments on commit e60331e

Please sign in to comment.