The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

kalarkar (4) [Avatar] Offline
#1
Hi,
In Chapter 10 its been explained how to define the policy intend and policy set. In the example it uses the JDKLoggingPolicy to log the incoming and outgoing messages as shown below.

<policySet name="JDKLoggingPolicy" provides="tuscany:logging" appliesTo="sca:implementation.java" >
xmlns="http://www.osoa.org/xmlns/sca/1.0">
<tuscany:jdkLogger name="myLogger">
<logLevel>FINER</logLevel>
</tuscany:jdkLogger>
</policySet>

When I run the trip example i dont see the logs being generated. My question is How can I specify the location where to write the logs in a file?