Commit 50f7f21
committed
feat(logging): Improve AppMap agent logging and config output
The AppMap agent's logging has been enhanced for better readability and
detail. This includes:
- Setting a standardized log format for all messages to
yyyy-MM-dd HH:mm:ss [thread] AppMap level: message.
- Refining the AppMapConfig toString() method to provide a more
structured and comprehensive output of the configuration details,
including name, config file path, and package information.
- Adjusting log levels for system properties output in Agent.java from
info to debug, and removing a redundant stack trace in debug mode
for cleaner logs.1 parent 78d2523 commit 50f7f21
File tree
2 files changed
+23
-3
lines changed- agent/src/main/java/com/appland/appmap
- config
2 files changed
+23
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
| 75 | + | |
77 | 76 | | |
78 | 77 | | |
79 | 78 | | |
| |||
Lines changed: 22 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| 320 | + | |
| 321 | + | |
320 | 322 | | |
321 | 323 | | |
322 | 324 | | |
| |||
365 | 367 | | |
366 | 368 | | |
367 | 369 | | |
368 | | - | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
369 | 390 | | |
370 | 391 | | |
0 commit comments