esa-pcg-cli 0.1.23-beta.0 → 0.1.23-beta.1
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/README.md
CHANGED
|
@@ -55,8 +55,10 @@ headers passed to fetch, response status/headers, and failure name/message/code
|
|
|
55
55
|
(including the immediate cause). Authorization, Cookie, key/token/secret and
|
|
56
56
|
other credential header values are replaced with `[REDACTED]`. Request query
|
|
57
57
|
parameters and bodies are not captured. Remote log payloads remain unchanged.
|
|
58
|
-
|
|
59
|
-
name/version metadata.
|
|
58
|
+
Local debug logging is always enabled, including when
|
|
59
|
+
`ESA_EFC_FUNCTION_LOG_KEY` or function name/version metadata is missing.
|
|
60
|
+
Only remote delivery requires that key and valid function name/version metadata;
|
|
61
|
+
without them no remote log requests are enqueued.
|
|
60
62
|
|
|
61
63
|
Override the file path with `PCG_DEBUG_NETWORK_LOG_PATH` (its parent directory
|
|
62
64
|
must exist). Writes are asynchronous and best effort, with at most 64 pending
|
|
@@ -68,7 +70,8 @@ The file has no rotation and new files use mode `0600`.
|
|
|
68
70
|
To remove this temporary debug aspect, delete `src/runtime/debug-network-log.cjs`,
|
|
69
71
|
its marked import/hooks in `src/runtime/efc-observability.cjs`, and the marked
|
|
70
72
|
source-tree copy in `src/artifacts/efc-observability.ts`, then rebuild the CLI and
|
|
71
|
-
application artifacts.
|
|
73
|
+
application artifacts. Restore the marked collection condition to
|
|
74
|
+
`const collect = report` when removing the sink.
|
|
72
75
|
|
|
73
76
|
## Next.js integration
|
|
74
77
|
|