Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MMWormhole use for log NetworkExtension #102

Open
guhan121 opened this issue Jul 23, 2020 · 2 comments
Open

MMWormhole use for log NetworkExtension #102

guhan121 opened this issue Jul 23, 2020 · 2 comments

Comments

@guhan121
Copy link

I have a vpn app implemented via NetworkExtension.
i use MMWormhole for Transmit message with app and Extension.
but if app crash or user want feedback. i want get logs from NetworkExtension.
so

can i send logs directly from Extension to app, and save logs to app log file?
because is read the code , i see writeMessageObject is write messageObject to a tempURL

tempURL is a file path,I'm worried about performance and frequency writes。

@houmie
Copy link

houmie commented Feb 17, 2022

@guhan121 Did you end up using this project for this use case? I have the same problem. Thanks

@codingiran
Copy link

codingiran commented Jun 27, 2023

Main app and NetworkExtension share the same AppGroup sandbox directory, maybe NetworkExtension direct write log to a file path in shared AppGroup , and main app can also read the same log file.

FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: YOUR_APPGROUP_ID),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants