@norskvideo/ctl-product-template-schema 0.1.28 → 0.1.30

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.
Files changed (3) hide show
  1. package/logs.d.ts +9 -4
  2. package/logs.js +9 -4
  3. package/package.json +2 -2
package/logs.d.ts CHANGED
@@ -71,10 +71,15 @@ export declare function productTemplateLogsProblems(materials: {
71
71
  composeYaml: string;
72
72
  }): string[];
73
73
  /** Norsk Studio (the `studio` service every Studio-based product runs): its
74
- * winston logger writes one JSON object per line to debug.log under the
75
- * config's server.logs — /usr/src/app/logs in the image — while its stdout is
76
- * a coloured, multi-line copy for humans, so it is not shipped. (error.log
77
- * beside it repeats debug.log's errors, so it is not declared.) */
74
+ * winston loggers write one JSON object per line to debug.log under the
75
+ * config's server.logs — /usr/src/app/logs in the image — in a subdirectory
76
+ * per process: logs/server/debug.log (the editor/API) and
77
+ * logs/runner/debug.log (the workflow runner). Nothing writes the declared
78
+ * logs/debug.log itself; the declaration is there to mount logs/, and the
79
+ * node log agent tails one level below each mounted directory (norsk-mgr
80
+ * log-agent template 1.2.0). Its stdout is a coloured, multi-line copy for
81
+ * humans, so it is not shipped. (error.log beside each debug.log repeats its
82
+ * errors, so it is not declared.) */
78
83
  export declare const STUDIO_SERVICE_LOGS: ServiceLogs;
79
84
  /** The Norsk engine (the `media` service): it runs its own fluent-bit, which
80
85
  * already collects its logs and stdout/stderr (tags media-erlang,
package/logs.js CHANGED
@@ -92,10 +92,15 @@ export function productTemplateLogsProblems(materials) {
92
92
  ];
93
93
  }
94
94
  /** Norsk Studio (the `studio` service every Studio-based product runs): its
95
- * winston logger writes one JSON object per line to debug.log under the
96
- * config's server.logs — /usr/src/app/logs in the image — while its stdout is
97
- * a coloured, multi-line copy for humans, so it is not shipped. (error.log
98
- * beside it repeats debug.log's errors, so it is not declared.) */
95
+ * winston loggers write one JSON object per line to debug.log under the
96
+ * config's server.logs — /usr/src/app/logs in the image — in a subdirectory
97
+ * per process: logs/server/debug.log (the editor/API) and
98
+ * logs/runner/debug.log (the workflow runner). Nothing writes the declared
99
+ * logs/debug.log itself; the declaration is there to mount logs/, and the
100
+ * node log agent tails one level below each mounted directory (norsk-mgr
101
+ * log-agent template 1.2.0). Its stdout is a coloured, multi-line copy for
102
+ * humans, so it is not shipped. (error.log beside each debug.log repeats its
103
+ * errors, so it is not declared.) */
99
104
  export const STUDIO_SERVICE_LOGS = {
100
105
  stdout: "none",
101
106
  files: [{ path: "/usr/src/app/logs/debug.log", format: "json" }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/ctl-product-template-schema",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -35,7 +35,7 @@
35
35
  "main": "./index.js",
36
36
  "types": "./index.d.ts",
37
37
  "dependencies": {
38
- "@norskvideo/ctl-foundation": "^0.1.0",
38
+ "@norskvideo/ctl-foundation": "^0.1.20",
39
39
  "yaml": "^2.8.0",
40
40
  "zod": "4.4.3"
41
41
  },