Skip to content

Commit

Permalink
Updated logging section in readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
anhashia committed Feb 24, 2017
1 parent 87d77b2 commit 018f7a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions device/iot-device-samples/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ Path to certificate is an **optional** argument and would be needed in case you
1. Sample has dependency on the remote library `iot-device-client`. It is currently set to use the latest version of the library. If you want to choose a different version, please update `device\iot-device-samples\android-sample\app\build.gradle` file to point to the version you want to use. For list of available versions search [Maven Repository][maven-repository]

## Logging
Java client SDK uses Apache [Log4j][log4j-logging] Java logging framework. To enable **logging** in the Azure IoT Java client SDK via your application, you can set [log4j.properties][log4j-properties] to the appropriate values of your choice in your application.
As an example, look at log4j.properties file located at iot-device-samples\send-receive-sample\src\main\resources. This log4j.properties file can be set to enable logging while using send-receive-sample.
Java client SDK uses Apache [Log4j][log4j-logging] Java logging framework. To enable **logging** in the Azure IoT Java client SDK via your application, you can set [log4j.properties][log4j-properties] to the appropriate values of your choice.
As an example, **sample** log4j.properties file is located at iot-device-samples\send-receive-sample\src\main\resources.

[devbox-setup]: ../../doc/java-devbox-setup.md
[lnk-setup-iot-hub]: https://aka.ms/howtocreateazureiothub
Expand Down

0 comments on commit 018f7a5

Please sign in to comment.