calendar: add url to broadcast logging (#3211)

minimal solution for #3110
This commit is contained in:
Karsten Hassel 2023-09-27 23:37:10 +02:00 committed by GitHub
parent e530c783f8
commit 6b204cda25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -9,7 +9,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
_This release is scheduled to be released on 2023-10-01._ _This release is scheduled to be released on 2023-10-01._
> ⚠️ This release needs nodejs version >= `v18`, older release have reached end of life and will not work! > ⚠️ This release needs nodejs version >= `v18`, older releases have reached end of life and will not work!
### Added ### Added
@ -22,6 +22,7 @@ _This release is scheduled to be released on 2023-10-01._
- Added automatic client page reload when server was restarted by setting `reloadAfterServerRestart: true` in `config.js`, per default `false` (#3105) - Added automatic client page reload when server was restarted by setting `reloadAfterServerRestart: true` in `config.js`, per default `false` (#3105)
- Added eventClass option for customEvents on the default calendar - Added eventClass option for customEvents on the default calendar
- Added AnimateCSS integration in tests suite (#3206) - Added AnimateCSS integration in tests suite (#3206)
- Added improved logging for calendar (#3110)
### Removed ### Removed

View File

@ -107,7 +107,7 @@ const CalendarFetcher = function (url, reloadInterval, excludedEvents, maximumEn
* Broadcast the existing events. * Broadcast the existing events.
*/ */
this.broadcastEvents = function () { this.broadcastEvents = function () {
Log.info(`Calendar-Fetcher: Broadcasting ${events.length} events.`); Log.info(`Calendar-Fetcher: Broadcasting ${events.length} events from ${url}.`);
eventsReceivedCallback(this); eventsReceivedCallback(this);
}; };