Log full with messages (notices/debug)
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? :)
Hi,
Can you post a full sample of your code if relevant ? I definitely shouldn't log anything here
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.
more than 1 year later... any news on this @airmoi? :-D
Sorry but I could not reproduce this issue. Were you able to reproduce it outside of your project ?