Navlib logging configuration?

Post questions, comments and feedback to our 3Dconnexion Windows Development Team.

Moderator: Moderators

Post Reply
JoelWilliamson
Posts: 6
Joined: Thu Aug 03, 2023 8:43 am

Navlib logging configuration?

Post by JoelWilliamson »

In the SDK docs (navlib.pdf), it says
Copy the navlib.xml configuration file to %appdata%\3Dconnexion\3Dxware\Cfg to enable logging.
I can't find a navlib.xml file in either the SDK package or in the folder in appdata. Where is it supposed to be?
jwick
Moderator
Moderator
Posts: 3341
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Navlib logging configuration?

Post by jwick »

I noticed that myself a few months ago. As far as I know, it is currently supposed to contain:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<Navlib>
  <Settings>
    <Logging>
      <GetClient>true</GetClient>
      <SetClient>true</SetClient>
      <ReadValue>true</ReadValue>
      <WriteValue>true</WriteValue>
    </Logging>
    <Probe>true</Probe>
  </Settings>
</Navlib>
JoelWilliamson
Posts: 6
Joined: Thu Aug 03, 2023 8:43 am

Re: Navlib logging configuration?

Post by JoelWilliamson »

Thanks. I'll give that a try.
JoelWilliamson
Posts: 6
Joined: Thu Aug 03, 2023 8:43 am

Re: Navlib logging configuration?

Post by JoelWilliamson »

Code: Select all

17:04:16.552: Dumping accessors
	property "coordinateSystem"	fnGet=true	fnPut=false	param=0x0
	property "active"	fnGet=false	fnPut=false	param=0x0
	...
	property "events.keyRelease"	fnGet=false	fnPut=true	param=0x0
	property "settings"	fnGet=false	fnPut=false	param=0x0

17:05:42.315: PutViewPerspective perspective=true
17:05:42.322: PutViewPerspective perspective=true
17:05:42.333: PutViewPerspective perspective=true
MyApp.navlib.log now contains these lines after each start up. Is that all the information I should expect?
ngomes
Moderator
Moderator
Posts: 3344
Joined: Mon Nov 27, 2006 7:22 am
Contact:

Re: Navlib logging configuration?

Post by ngomes »

JoelWilliamson wrote: Thu Aug 03, 2023 2:09 pm MyApp.navlib.log now contains these lines after each start up. Is that all the information I should expect?
You should also find a "navlib.log" file with additional traces.
Post Reply