Results 1 to 5 of 5
  1. #1

    Default Can I delete Paypal CURL Logs

    I analyzed my latest load times for a test database and identified it took over 4 hours to load 50,000 Paypal CURL log files located in includes/modules/payment/paypal/logs

    Can I safely delete these files? Why are these files being created in the first place?

    I found several older threads that reference the subject but neither apply to me.

    1) Debug Mode for Module>Payment>Paypal Express Checkout is set to Off and has always been set that way. The CURL files are dated for the entire lifespan of my use of Paypal Express Checkout (2 years).

    2) I tried the Tools>Store Manager>Cleanup Debug Log files option and it does not remove the Paypal CURL files located in the logs directory.

    Thank you!
    www.pinkchalkfabrics.com - cloth, pattern + tool for modern sewists
    ZC version 1.3.9h, Simple Category Tree, Super Orders

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Can I delete Paypal CURL Logs

    Quote Originally Posted by pinkchalkstudio View Post
    I analyzed my latest load times for a test database and identified it took over 4 hours to load 50,000 Paypal CURL log files located in includes/modules/payment/paypal/logs
    I'm not sure what you mean by this. 'test database' and 'cURL log files' don't have a lot in common. Certainly not in regards to 'load times'

    Quote Originally Posted by pinkchalkstudio View Post
    Can I safely delete these files? Why are these files being created in the first place?
    Yes, all log files can be safely deleted.

    They are created either because you have logging enabled for this facility, or, they could be generated as a result of communication errors.

    Quote Originally Posted by pinkchalkstudio View Post
    The CURL files are dated for the entire lifespan of my use of Paypal Express Checkout (2 years).
    Perhaps if you could post a copy of the last log file created (remove any confidential data first) and it will provide a clue as to why they are being created.

    Cheers
    Rod

  3. #3

    Default Re: Can I delete Paypal CURL Logs

    Thanks for your response Rod. I took a closer look at the content of the files. It appears that 3 different log files are getting created for each Paypal transaction.

    I must have something turned on that is creating these files? I checked the Debug Mode option for the 15th time ;) and it is definitely set to 'Off'. Anywhere else I should look?

    'Test Database' - I'm getting ready to implement a new feature and created a copy of my production database to test on before making it live.

    Thanks for your help,
    Kathy

    Content of Log File #1:

    2012-06-22 08:58:57
    -------------------
    (live transaction) --> https://api-3t.paypal.com/nvp
    Request Headers:
    Array
    (
    [0] => Content-Type: text/namevalue
    [1] => X-VPS-Timeout: 45
    [2] => X-VPS-VIT-Client-Type: PHP/cURL
    [3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart(tm) - PayPal/NVP
    [4] => X-VPS-VIT-Integration-Version: 1.3.9h
    )


    Request Parameters: {SetExpressCheckout}
    Array
    (
    [AMT] => 56.00
    [ITEMAMT] => 56.00
    [L_NUMBER0] => 1PA-Download-CA-KGB
    [L_NAME0] => Charlie's Aunt Kitchen Garden Bag - Downloadable Pattern
    [L_DESC0] => File Format: PDF
    [L_AMT0] => 8.00
    [L_QTY0] => 1
    [L_NUMBER1] => 1PA-Download-CA-GCB
    [L_NAME1] => Charlie's Aunt Gershwin Clutch - Downloadable Pattern
    [L_DESC1] => File Format: PDF
    [L_AMT1] => 8.00
    [L_QTY1] => 1
    [L_NUMBER2] => 1PA-Download-CA-HTC
    [L_NAME2] => Charlie's Aunt High Tea Clutch - Downloadable Pattern
    [L_DESC2] => File Format: PDF
    [L_AMT2] => 8.00
    [L_QTY2] => 1
    [L_NUMBER3] => 1PA-Download-CA-HFB
    [L_NAME3] => Charlie's Aunt Home Front Bag - Downloadable Pattern
    [L_DESC3] => File Format: PDF
    [L_AMT3] => 8.00
    [L_QTY3] => 1
    [L_NUMBER4] => 1PA-Download-CA-CC
    [L_NAME4] => Charlie's Aunt Casablanca Clutch - Downloadable Pattern
    [L_DESC4] => File Format: PDF
    [L_AMT4] => 8.00
    [L_QTY4] => 1
    [L_NUMBER5] => 1PA-Download-CA-DC
    [L_NAME5] => Charlie's Aunt Dorothy Clutch - Downloadable Pattern
    [L_DESC5] => File Format: PDF
    [L_AMT5] => 8.00
    [L_QTY5] => 1
    [L_NUMBER6] => 1PA-Download-CA-AB
    [L_NAME6] => Charlie's Aunt Anglia Bag - Downloadable Pattern
    [L_DESC6] => File Format: PDF
    [L_AMT6] => 8.00
    [L_QTY6] => 1
    [LOCALECODE] => US
    [PAYMENTACTION] => Sale
    [ALLOWNOTE] => 1
    [LANDINGPAGE] => Billing
    [NOSHIPPING] => 1
    [EMAIL] => *********
    [SHIPTOPHONENUM] => ************
    [RETURNURL] => **********
    [CANCELURL] => **********
    [PAGESTYLE] => Primary
    [METHOD] => SetExpressCheckout
    [CURRENCYCODE] => USD
    [USER] => ***********
    [PWD] => ****************
    [VERSION] => 60.0
    [SIGNATURE] => *************************************************
    )


    Response:
    Array
    (
    [TOKEN] => **********
    [TIMESTAMP] => 2012-06-23T03:59:04Z
    [CORRELATIONID] => *******
    [ACK] => Success
    [VERSION] => 60.0
    [BUILD] => 3067390
    [CURL_ERRORS] =>
    )


    SetExpressCheckout, Elapsed: 511ms -- Success

    Content of Log File 2 for this transaction:

    2012-06-22 08:59:51
    -------------------
    (live transaction) --> https://api-3t.paypal.com/nvp
    Request Headers:
    Array
    (
    [0] => Content-Type: text/namevalue
    [1] => X-VPS-Timeout: 45
    [2] => X-VPS-VIT-Client-Type: PHP/cURL
    [3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart(tm) - PayPal/NVP
    [4] => X-VPS-VIT-Integration-Version: 1.3.9h
    )


    Request Parameters: {GetExpressCheckoutDetails}
    Array
    (
    [TOKEN] => *******
    [REQBILLINGADDRESS] => 1
    [METHOD] => GetExpressCheckoutDetails
    [USER] => **********
    [PWD] => ****************
    [VERSION] => 60.0
    [SIGNATURE] => **************************************************
    )


    Response:
    Array
    (
    [TOKEN] => ****
    [CHECKOUTSTATUS] => PaymentActionNotInitiated
    [TIMESTAMP] => 2012-06-23T03:59:58Z
    [CORRELATIONID] => ***
    [ACK] => Success
    [VERSION] => 60.0
    [BUILD] => 3067390
    [EMAIL] => *******
    [PAYERID] => *****
    [PAYERSTATUS] => verified
    [FIRSTNAME] => *****
    [LASTNAME] => *****
    [COUNTRYCODE] => US
    [CURRENCYCODE] => USD
    [AMT] => 56.00
    [ITEMAMT] => 56.00
    [SHIPPINGAMT] => 0.00
    [HANDLINGAMT] => 0.00
    [TAXAMT] => 0.00
    [INSURANCEAMT] => 0.00
    [SHIPDISCAMT] => 0.00
    [L_NAME0] => Charlie's Aunt Kitchen Garden Bag - Downloadable Pattern
    [L_NAME1] => Charlie's Aunt Gershwin Clutch - Downloadable Pattern
    [L_NAME2] => Charlie's Aunt High Tea Clutch - Downloadable Pattern
    [L_NAME3] => Charlie's Aunt Home Front Bag - Downloadable Pattern
    [L_NAME4] => Charlie's Aunt Casablanca Clutch - Downloadable Pattern
    [L_NAME5] => Charlie's Aunt Dorothy Clutch - Downloadable Pattern
    [L_NAME6] => Charlie's Aunt Anglia Bag - Downloadable Pattern
    [L_NUMBER0] => 1PA-Download-CA-KGB
    [L_NUMBER1] => 1PA-Download-CA-GCB
    [L_NUMBER2] => 1PA-Download-CA-HTC
    [L_NUMBER3] => 1PA-Download-CA-HFB
    [L_NUMBER4] => 1PA-Download-CA-CC
    [L_NUMBER5] => 1PA-Download-CA-DC
    [L_NUMBER6] => 1PA-Download-CA-AB
    [L_QTY0] => 1
    [L_QTY1] => 1
    [L_QTY2] => 1
    [L_QTY3] => 1
    [L_QTY4] => 1
    [L_QTY5] => 1
    [L_QTY6] => 1
    [L_TAXAMT0] => 0.00
    [L_TAXAMT1] => 0.00
    [L_TAXAMT2] => 0.00
    [L_TAXAMT3] => 0.00
    [L_TAXAMT4] => 0.00
    [L_TAXAMT5] => 0.00
    [L_TAXAMT6] => 0.00
    [L_AMT0] => 8.00
    [L_AMT1] => 8.00
    [L_AMT2] => 8.00
    [L_AMT3] => 8.00
    [L_AMT4] => 8.00
    [L_AMT5] => 8.00
    [L_AMT6] => 8.00
    [L_DESC0] => File Format: PDF
    [L_DESC1] => File Format: PDF
    [L_DESC2] => File Format: PDF
    [L_DESC3] => File Format: PDF
    [L_DESC4] => File Format: PDF
    [L_DESC5] => File Format: PDF
    [L_DESC6] => File Format: PDF
    [L_ITEMWEIGHTVALUE0] => 0.00000
    [L_ITEMWEIGHTVALUE1] => 0.00000
    [L_ITEMWEIGHTVALUE2] => 0.00000
    [L_ITEMWEIGHTVALUE3] => 0.00000
    [L_ITEMWEIGHTVALUE4] => 0.00000
    [L_ITEMWEIGHTVALUE5] => 0.00000
    [L_ITEMWEIGHTVALUE6] => 0.00000
    [L_ITEMLENGTHVALUE0] => 0.00000
    [L_ITEMLENGTHVALUE1] => 0.00000
    [L_ITEMLENGTHVALUE2] => 0.00000
    [L_ITEMLENGTHVALUE3] => 0.00000
    [L_ITEMLENGTHVALUE4] => 0.00000
    [L_ITEMLENGTHVALUE5] => 0.00000
    [L_ITEMLENGTHVALUE6] => 0.00000
    [L_ITEMWIDTHVALUE0] => 0.00000
    [L_ITEMWIDTHVALUE1] => 0.00000
    [L_ITEMWIDTHVALUE2] => 0.00000
    [L_ITEMWIDTHVALUE3] => 0.00000
    [L_ITEMWIDTHVALUE4] => 0.00000
    [L_ITEMWIDTHVALUE5] => 0.00000
    [L_ITEMWIDTHVALUE6] => 0.00000
    [L_ITEMHEIGHTVALUE0] => 0.00000
    [L_ITEMHEIGHTVALUE1] => 0.00000
    [L_ITEMHEIGHTVALUE2] => 0.00000
    [L_ITEMHEIGHTVALUE3] => 0.00000
    [L_ITEMHEIGHTVALUE4] => 0.00000
    [L_ITEMHEIGHTVALUE5] => 0.00000
    [L_ITEMHEIGHTVALUE6] => 0.00000
    [CURL_ERRORS] =>
    )


    GetExpressCheckoutDetails, Elapsed: 351ms -- Success

    Content of Log File 3 for this transaction:

    2012-06-22 09:00:32
    -------------------
    (live transaction) --> https://api-3t.paypal.com/nvp
    Request Headers:
    Array
    (
    [0] => Content-Type: text/namevalue
    [1] => X-VPS-Timeout: 45
    [2] => X-VPS-VIT-Client-Type: PHP/cURL
    [3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart(tm) - PayPal/NVP
    [4] => X-VPS-VIT-Integration-Version: 1.3.9h
    )


    Request Parameters: {DoExpressCheckoutPayment}
    Array
    (
    [AMT] => 56.00
    [ITEMAMT] => 56.00
    [L_NUMBER0] => 1PA-Download-CA-KGB
    [L_NAME0] => Charlie's Aunt Kitchen Garden Bag - Downloadable Pattern
    [L_DESC0] => File Format: PDF
    [L_AMT0] => 8.00
    [L_QTY0] => 1
    [L_NUMBER1] => 1PA-Download-CA-GCB
    [L_NAME1] => Charlie's Aunt Gershwin Clutch - Downloadable Pattern
    [L_DESC1] => File Format: PDF
    [L_AMT1] => 8.00
    [L_QTY1] => 1
    [L_NUMBER2] => 1PA-Download-CA-HTC
    [L_NAME2] => Charlie's Aunt High Tea Clutch - Downloadable Pattern
    [L_DESC2] => File Format: PDF
    [L_AMT2] => 8.00
    [L_QTY2] => 1
    [L_NUMBER3] => 1PA-Download-CA-HFB
    [L_NAME3] => Charlie's Aunt Home Front Bag - Downloadable Pattern
    [L_DESC3] => File Format: PDF
    [L_AMT3] => 8.00
    [L_QTY3] => 1
    [L_NUMBER4] => 1PA-Download-CA-CC
    [L_NAME4] => Charlie's Aunt Casablanca Clutch - Downloadable Pattern
    [L_DESC4] => File Format: PDF
    [L_AMT4] => 8.00
    [L_QTY4] => 1
    [L_NUMBER5] => 1PA-Download-CA-DC
    [L_NAME5] => Charlie's Aunt Dorothy Clutch - Downloadable Pattern
    [L_DESC5] => File Format: PDF
    [L_AMT5] => 8.00
    [L_QTY5] => 1
    [L_NUMBER6] => 1PA-Download-CA-AB
    [L_NAME6] => Charlie's Aunt Anglia Bag - Downloadable Pattern
    [L_DESC6] => File Format: PDF
    [L_AMT6] => 8.00
    [L_QTY6] => 1
    [BUTTONSOURCE] => ZenCart-EC_us
    [RETURNFMFDETAILS] => 0
    [CUSTOM] => **************
    [INVNUM] => *************
    [TOKEN] => ***********
    [PAYERID] => **********
    [PAYMENTACTION] => Sale
    [NOTIFYURL] => https://www.pinkchalkfabrics.com/ipn_main_handler.php
    [METHOD] => DoExpressCheckoutPayment
    [CURRENCYCODE] => USD
    [USER] => **********
    [PWD] => ****************
    [VERSION] => 60.0
    [SIGNATURE] => ****************************************************F7e9
    )


    Response:
    Array
    (
    [TOKEN] => *********
    [SUCCESSPAGEREDIRECTREQUESTED] => false
    [TIMESTAMP] => 2012-06-23T04:00:39Z
    [CORRELATIONID] => *******
    [ACK] => Success
    [VERSION] => 60.0
    [BUILD] => 3067390
    [TRANSACTIONID] => ****
    [TRANSACTIONTYPE] => cart
    [PAYMENTTYPE] => instant
    [ORDERTIME] => 2012-06-23T04:00:39Z
    [AMT] => 56.00
    [FEEAMT] => 1.53
    [TAXAMT] => 0.00
    [CURRENCYCODE] => USD
    [PAYMENTSTATUS] => Completed
    [PENDINGREASON] => None
    [REASONCODE] => None
    [PROTECTIONELIGIBILITY] => Ineligible
    [INSURANCEOPTIONSELECTED] => false
    [SHIPPINGOPTIONISDEFAULT] => false
    [CURL_ERRORS] =>
    )


    DoExpressCheckoutPayment, Elapsed: 2715ms -- Success
    www.pinkchalkfabrics.com - cloth, pattern + tool for modern sewists
    ZC version 1.3.9h, Simple Category Tree, Super Orders

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Can I delete Paypal CURL Logs

    Quote Originally Posted by pinkchalkstudio View Post
    I must have something turned on that is creating these files? I checked the Debug Mode option for the 15th time ;) and it is definitely set to 'Off'. Anywhere else I should look?
    Those look like regular debug log files to me, and other than the Debug Mode setting at Module>Payment>Paypal Express Checkout, I'm pretty sure there is nothing else that would enable them.

    Perhaps if you change this setting to 'log file' or 'log file and email', then perform a test purchase (which should be logged) and then go back and turn it off again and perform another test, it may either fix the problem, or perhaps provide a further clue. In other words, we are 1st trying to determine whether this switch is having any effect at all, and secondly, the mere act of changing and resetting it may possibly invoke a cure.

    A bit of a long shot, but worth trying.

    Cheers
    Rod

  5. #5

    Default Re: Can I delete Paypal CURL Logs

    Did the test. Debug Mode turned 'On' creates an additional 3 (4 in some cases) log files - one very large file. Turned the option off again and went back to seeing 3 files created for each transaction.

    I deleted all of the old log files - everything still works ;) Still not sure why these are being created but at least I've learned that I should purge on a regular basis and definitely don't need to be loading them when I create a test site!

    Thank you for brainstorming with me Rod.

    - Kathy
    www.pinkchalkfabrics.com - cloth, pattern + tool for modern sewists
    ZC version 1.3.9h, Simple Category Tree, Super Orders

 

 

Similar Threads

  1. Can't delete weird query_selects__ logs via ftp...
    By toomanyknots in forum General Questions
    Replies: 5
    Last Post: 28 Mar 2015, 03:33 PM
  2. v138a can we empty all files under include/modules/payment/paypal/logs?
    By yisou in forum General Questions
    Replies: 2
    Last Post: 10 Jun 2013, 03:35 PM
  3. Delete Debug Logs?
    By igendreau in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 15 Apr 2010, 04:26 PM
  4. Can't delete products in cart with delete button
    By DaveS in forum General Questions
    Replies: 4
    Last Post: 20 Sep 2009, 09:54 PM
  5. /payment/paypal/logs Can these be deleted or should they be kept?
    By shrimp-gumbo-mmmhhh in forum General Questions
    Replies: 1
    Last Post: 17 Aug 2008, 01:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg