log: when app is launched

This commit is contained in:
KernelDeimos
2024-11-07 14:27:02 -05:00
parent 5caa2c0e3a
commit d613c5fc83
+6
View File
@@ -14,6 +14,10 @@ export class ExecService extends Service {
svc_ipc.register_ipc_handler('connectToInstance', {
handler: this.connectToInstance.bind(this),
});
this.log = puter.log.fields({
category: 'ipc'
});
}
// This method is exposed to apps via IPCService.
@@ -30,6 +34,8 @@ export class ExecService extends Service {
target: child_instance_id,
}) : undefined;
this.log.info('launchApp connection', connection);
// The "body" of this method is in a separate file
const child_process = await launch_app({
launched_by_exec_service: true,