How to enable the Vault-client logging

Ok, today, I searched for the 10 thousandth time for the switch to enable the logging of the Vault client. I finally found a solution and I want to share it with you!

You will see what your client tells your server. And you will know which webservice-classes were called, in which order and with which parameter.

Just do the following steps:

1. Open your Vault client installation directory (e.g. C:\Program Files\Autodesk\Vault Professional 2015\Explorer)

2. Open the Connectivity.VaultPro.exe.config and scroll down to the end of the file

3. Insert these lines of code:

<diagnostics>
<trace enabled="true" input="traceServerIn.log" output="traceServerOut.log" />
</diagnostics>

Now your config file looks something like this:

19-05-2014 16-06-42That’s it! I am absolutely sure that someone needs this, too. You’re welcome!

About weiss92

Software Developer
This entry was posted in Vault API. Bookmark the permalink.

One Response to How to enable the Vault-client logging

  1. Doug Redmond says:

    This tip is good for debugging only. For normal use, you want tracing to be disabled.
    The log files get large very quickly, and it impacts the performance of the Vault client. I’ve noticed slowness after a few minutes of having the trace enabled.

    Personally, I use Fiddler if I want a trace of what the client is doing. But again, this is for debug use. http://justonesandzeros.typepad.com/blog/2012/03/fiddling-with-the-vault-api.html

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s