mirror of
https://github.com/HeyPuter/puter.git
synced 2026-08-28 08:56:58 +00:00
log: when app is launched
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user