|
| 1 | +### [CORE] Controller logger updates ([#1054](https://github.com/Inxton/AXOpen/pull/1054)) |
| 2 | + |
| 3 | +**Note:** Enhanced logging and messaging capabilities with new message categories and requalification features. |
| 4 | + |
| 5 | +- feat: Added new `Potential` message category (severity level 150) for messages that may escalate to warnings or errors |
| 6 | +- feat: Introduced message requalification system via `RequalifyDownstreamMessages()` to allow downstream message category promotion |
| 7 | +- feat: Added `_messageCode` parameter to logger methods for improved message tracking and identification |
| 8 | +- feat: Implemented step timeout detection in `AxoSequencer` with automatic error message generation |
| 9 | +- feat: Enhanced `AxoMessageProvider` and `Flattener` to support configurable observation depth |
| 10 | +- refactor: Standardized severity localization keys (simplified from "SeverityInfo" to "Info", etc.) |
| 11 | +- refactor: Updated AxoMessenger logging signatures to use rise/fall signature markers for clarity |
| 12 | +- chore: Bumped AXSharp packages to 0.47.0-alpha.452 and Siemens.Simatic.S7.Webserver.API to 3.3.24 |
| 13 | + |
| 14 | +**Impact:** |
| 15 | +- Enables intermediate message categorization before escalation to warnings or errors |
| 16 | +- Improves diagnostics through message code tracking and step timeout detection |
| 17 | +- Provides better control over message severity in distributed systems |
| 18 | +- Simplifies localization maintenance with consistent key naming |
| 19 | + |
| 20 | +**New Message Categories:** |
| 21 | +- `None` (0): No category; ignore non-critical messages |
| 22 | +- `Info` (100): Informative messages with minimal impact |
| 23 | +- `Potential` (150): Potential problems that may escalate (automatically requalified if configured) |
| 24 | +- `Warning` (200): Possible problems affecting the process |
| 25 | +- `Error` (300): Failures requiring intervention |
| 26 | +- `Critical` (400): Critical system failures |
| 27 | +- `ProgrammingError` (500): Implementation/configuration errors |
| 28 | + |
| 29 | +**Risks/Review:** |
| 30 | +- Existing code using old severity localization keys should be updated to use new simplified keys |
| 31 | +- Message requalification logic should be tested in environments with coordinated components |
| 32 | +- Step timeout thresholds should be validated for application-specific timing requirements |
| 33 | + |
| 34 | +**Testing:** |
| 35 | +- Unit tests for message requalification across all categories |
| 36 | +- Integration tests for step timeout scenarios in sequencers |
| 37 | +- Localization verification for all supported languages |
| 38 | + |
1 | 39 | ### [INTEGRATIONS] Additional alignments with application template ([#768](https://github.com/Inxton/AXOpen/pull/768)) |
2 | 40 |
|
3 | 41 | **Note:** Namespace and component renames require consumers to update imports, templates, and generated UI bindings before upgrading. |
|
0 commit comments