From d613c5fc83fc9f4a89e6cb9aa333943d9c174dfc Mon Sep 17 00:00:00 2001 From: KernelDeimos Date: Thu, 7 Nov 2024 14:26:59 -0500 Subject: [PATCH] log: when app is launched --- src/gui/src/services/ExecService.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gui/src/services/ExecService.js b/src/gui/src/services/ExecService.js index bb2317514..eacad3cd8 100644 --- a/src/gui/src/services/ExecService.js +++ b/src/gui/src/services/ExecService.js @@ -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,