Commit 0496484
committed
fix: only copy last 1000 lines of mosquitto log file during diagnostic collection
Avoid copying the entire mosquitto.log file to prevent cases where the log file is large (e.g. when no log rotation is configured)
Signed-off-by: reubenmiller <[email protected]>1 parent 4b025b6 commit 0496484
File tree
2 files changed
+9
-2
lines changed- configuration/contrib/diag-plugins
- tests/RobotFramework/tests/tedge/diag
2 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
76 | 80 | | |
77 | | - | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| |||
0 commit comments