@platformatic/watt-extra 1.10.0 → 1.10.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/watt.js +2 -0
- package/package.json +1 -1
package/lib/watt.js
CHANGED
|
@@ -513,6 +513,7 @@ class Watt {
|
|
|
513
513
|
const config = runtime.getRuntimeConfig(true)
|
|
514
514
|
|
|
515
515
|
for (const app of config.applications ?? []) {
|
|
516
|
+
this.#logger.info({ name: app.id, type: app.type }, `Configuring service ${app.id} of type ${app.type}`)
|
|
516
517
|
if (app.type === 'next') {
|
|
517
518
|
await this.#configureNextService(runtime, app)
|
|
518
519
|
} else if (
|
|
@@ -550,6 +551,7 @@ class Watt {
|
|
|
550
551
|
if ('cache' in nextSchema.properties) {
|
|
551
552
|
const httpCache = this.#instanceConfig?.httpCache?.clientOpts || {}
|
|
552
553
|
const { keyPrefix, host, port, username, password } = httpCache
|
|
554
|
+
this.#logger.info({ keyPrefix, host, port }, `Configuring cache for next service ${service.id}`)
|
|
553
555
|
|
|
554
556
|
if (!keyPrefix || !host || !port) {
|
|
555
557
|
this.#logger.warn(
|