Skip to content

Commit 6b9c16a

Browse files
committed
remove exec.mainClass
1 parent cc15d5b commit 6b9c16a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documents/FAQ.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To enable logging in the samples, you will need to set the following system prop
3535
For example, to run `Mqtt X509` with logging you could use the following:
3636

3737
```sh
38-
mvn compile exec:java -pl samples/Mqtt/Mqtt5X509 -Daws.crt.debugnative=true -Daws.crt.log.level=Debug -Daws.crt.log.destionation=Stdout -Dexec.mainClass=mqtt5x509.Mqtt5X509 -Dexec.args='--endpoint <endpoint> --cert <path to cert> --key <path to key>'
38+
mvn compile exec:java -pl samples/Mqtt/Mqtt5X509 -Daws.crt.debugnative=true -Daws.crt.log.level=Debug -Daws.crt.log.destionation=Stdout -Dexec.args='--endpoint <endpoint> --cert <path to cert> --key <path to key>'
3939
```
4040

4141
You can also enable [CloudWatch logging](https://docs.aws.amazon.com/iot/latest/developerguide/cloud-watch-logs.html) for IoT which will provide you with additional information that is not available on the client side sdk.

0 commit comments

Comments
 (0)