You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A clear and concise description of what the bug is. Please note that issues with the network drivers and boards themselves should be reported to their respective repositories or [Mbed OS](https://github.com/ARMmbed/mbed-os/issues) repository.
12
+
13
+
**To Reproduce**
14
+
Steps to reproduce the behavior:
15
+
1.
16
+
2.
17
+
3.
18
+
4. See error
19
+
20
+
**Expected behavior**
21
+
A clear and concise description of what you expected to happen.
22
+
23
+
**Logs**
24
+
Add logs to help explain your problem. Information how to enable logs is available in [README.md](https://github.com/ARMmbed/mbed-os-example-pelion/blob/master/README.md#enabling-logs).
25
+
26
+
**Host system (please complete the following information):**
**Is your feature request related to a problem? Please describe.**
11
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+
**Describe the solution you'd like**
14
+
A clear and concise description of what you want to happen.
15
+
Please bear in mind the target of this example - it is supposed to be a very short and simple demo applications, which highlights just the device connectivity and firmware update using the developer flow. With minimal resources and lines of code.
16
+
17
+
Actual client features can be requested also via the [Pelion client repository](https://github.com/armmbed/mbed-cloud-client/issues).
18
+
19
+
**Describe alternatives you've considered**
20
+
A clear and concise description of any alternative solutions or features you've considered.
21
+
22
+
**Additional context**
23
+
Add any other context or screenshots about the feature request here.
Logging (or tracing) can be enabled by modifying the [`mbed_app.json`](https://github.com/ARMmbed/mbed-os-example-pelion/blob/master/mbed_app.json#L19) file.
96
+
97
+
```
98
+
"mbed-trace.enable" : null,
99
+
```
100
+
By modifying that `null` to `1` and recompiling the application.
101
+
102
+
Log level can be modified compile-time by defining `MBED_TRACE_MAX_LEVEL` -macro to `mbed_app.json`:
103
+
104
+
```
105
+
"target.macros_add": [
106
+
"MBED_TRACE_MAX_LEVEL=TRACE_LEVEL_INFO",
107
+
```
108
+
109
+
Default level is `TRACE_LEVEL_DEBUG`, possible values are:
110
+
*`TRACE_LEVEL_DEBUG` (largest amounts of logs)
111
+
*`TRACE_LEVEL_INFO`
112
+
*`TRACE_LEVEL_WARN` and
113
+
*`TRACE_LEVEL_ERROR` (smallest amount of logs).
114
+
115
+
Component level run-time control is also possible by setting log levels (by calling `mbed_trace_config_set()`) and inclusions/exclusions (by calling `mbed_trace_include_filters_set()` or mbed_trace_exclude_filters_set()`).
116
+
117
+
For more details, see the [`mbed-trace`](https://github.com/ARMmbed/mbed-trace) library.
0 commit comments