Daily client log rotation
The client and its modules write daily files to the shared logs folder. Daily logs are retained for 30 days.
- Log files. All modules use the shared logs folder and names such as client-2026-11-24.log.
- Retention. When writing starts for a new day, daily logs older than 30 days are deleted. Configure retention with TCM_LOG_RETENTION_DAYS.
- Windows services. Service logs are stored in logs and rotate daily.
Compare before and after
- Log files
- BeforeFiles grew without a limit; some modules wrote to client/logs.
- AfterAll modules use the shared logs folder and names such as client-2026-11-24.log.
- Retention
- BeforeApplication logs were not removed automatically.
- AfterWhen writing starts for a new day, daily logs older than 30 days are deleted. Configure retention with TCM_LOG_RETENTION_DAYS.
- Windows services
- BeforeService stdout and stderr were stored in the installation root and rotated by size.
- AfterService logs are stored in logs and rotate daily.