Skip to content

Commit

Permalink
Merge pull request #10 from checkout/feature/disable-logging
Browse files Browse the repository at this point in the history
Feature/disable logging
  • Loading branch information
david-fiaty-cko committed Mar 5, 2019
2 parents 063c200 + 16cf5c4 commit 2260afb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -2,7 +2,7 @@
"name": "checkout/checkout-sdk-php",
"description": "Checkout.com SDK for PHP",
"homepage": "https://github.com/checkout/checkout-sdk-php",
"version": "1.0.0",
"version": "1.0.2",
"type": "library",
"license": "MIT",
"keywords": ["checkout.com","payment","gateway","checkout","checkoutcom","GW3","CKO", "Reboot", "SDK", "Library", "PHP", "API"],
Expand Down
4 changes: 2 additions & 2 deletions src/CheckoutApi.php
Expand Up @@ -47,7 +47,7 @@ final class CheckoutApi
*
* @var string
*/
const VERSION = '1.0.1';
const VERSION = '1.0.2';

/**
* Channel section.
Expand Down Expand Up @@ -315,7 +315,7 @@ private function loadChannel (array &$configs = array(), $secret, $sandbox, $pub
private function loadLogs (array &$configs)
{

$defaults = array(static::CONFIG_LOGGING => true,
$defaults = array(static::CONFIG_LOGGING => false,
static::CONFIG_LOG_REQUEST => 'request.log',
static::CONFIG_LOG_RESPONSE => 'response.log',
static::CONFIG_LOG_ERROR => 'error.log');
Expand Down
2 changes: 1 addition & 1 deletion src/config.ini
Expand Up @@ -26,7 +26,7 @@ public_key =

; Logs enabled
; Either true or false (default)
; logging = true
; logging = false

; Path to request logs
;request = request.log
Expand Down

0 comments on commit 2260afb

Please sign in to comment.