• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

aspectran / aspectran / #4666

18 Oct 2025 09:40AM UTC coverage: 36.3% (-0.002%) from 36.302%
#4666

push

github

topframe
Refactor: Improve and unify logging messages across services

Improves user-facing messages across various services (Web, Shell, Daemon, Embedded, Undertow) to be more consistent, clear, and professional.

Key improvements include:

- Replaced technical or abrupt messages (e.g., "Paused") with more user-friendly and complete sentences (e.g., "Service is temporarily unavailable").
- Standardized exception messages for common failures like session manager creation to be more concise.
- Refined lifecycle log messages in core service classes (`WebActivityServlet`, `WebServiceListener`, `AbstractServiceLifeCycle`) for better clarity and consistency.
- Removed unnecessary object identity hashes from log outputs, favoring meaningful names or general subjects.

During this process, the logging style for the core `AbstractServiceLifeCycle` was discussed. It was concluded that concise, event-label style messages (e.g., "Starting {serviceName}") are more appropriate for this class than full sentences, and the code has been aligned
with this convention.

1 of 35 new or added lines in 18 files covered. (2.86%)

34 existing lines in 4 files now uncovered.

15036 of 41422 relevant lines covered (36.3%)

0.36 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/core/src/main/java/com/aspectran/core/service/DefaultCoreService.java


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc