FileMaker icon indicating copy to clipboard operation
FileMaker copied to clipboard

Log full with messages (notices/debug)

Open cubetechkosh opened this issue 4 years ago • 4 comments

This is how a initialize the filemaker handler: $fm = new \airmoi\FileMaker\FileMaker($database, $url, $user, $password, ['prevalidate' => true, 'logLevel' => 3]);

[05-Jul-2021 10:52:17 UTC] Perform request: ****.**/fmi/xml/fmresultset.xml?-db=dbname&-lay=xyz&-find&-recid=4711 [05-Jul-2021 10:52:17 UTC] Query Footprint : -db=dbname&-lay=xyz&-find=1&-recid=4711

I have no idea how to change this. As far as I can see this code should not log anything other than errors. Can you help me with this? :)

cubetechkosh avatar Jul 05 '21 11:07 cubetechkosh

Hi,

Can you post a full sample of your code if relevant ? I definitely shouldn't log anything here

airmoi avatar Jul 16 '21 08:07 airmoi

Hello there, of course :)

First creating a new instance: $fm = new \airmoi\FileMaker\FileMaker($database, $url, $user, $password, ['prevalidate' => true, 'logLevel' => 3]); Then fire the request: $data = $fm->getRecordById($layout, $id);

Notes:

  • I've also tried it without logLevel (default should be 3).
  • We're in a wordpress context, so basically this code is executed in context of a cronjob which is based on the wordpress config which has debug=false.

cubetechkosh avatar Aug 04 '21 09:08 cubetechkosh

more than 1 year later... any news on this @airmoi? :-D

cubetechkosh avatar Nov 25 '22 15:11 cubetechkosh

Sorry but I could not reproduce this issue. Were you able to reproduce it outside of your project ?

airmoi avatar Dec 26 '23 16:12 airmoi