Thursday, September 16, 2010

Enabling trace on Datasources in WAS 7

In the Admin Console, you can add 2 Custom Properties to a datasource to enable trace level logging.

Go to your datasource, and click on the "Custom Properties" link to the right of the middle frame and add the following:

traceLevel (value is 7)
traceFile (value is fully qualified file name for the data to be written to)

Once I set these up, I usually cycle the nodeagent on one of our servers, and then do a test connection when it's back. This proves to me the setting is correct and something will be written to the log.  once I know this is ok, I can cycle the appServers I am concerned about for the settings to take hold.