-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update log file names to be prefixed with the namespace #798
Comments
I found in
then after manager, include configManager depends on logger, even before argv being parsed and set to flags. Maybe we could just even for other subdirectory so each name-space has its own dedicated directory for logs, caches |
I'm okay with using the as a directory for logs and everything. as you mentioned:
I think to get the namespace you will need to either manually parse the argv (could be |
When calling <cluster_namespace>/solo.log |
Jeromy Cannon solo/src/core/config/LocalConfig.ts Line 48 in e049a36
Also, see in my PR how I pull from argv early in main:#814 Jeffrey Tang Jeromy Cannon |
While doing some experiment, I found a tricky part.
|
Currently, we have two log files on the users machine from which we run Solo:
~/.solo/logs/solo.log
~/.solo/logs/hashgraph-sdk.log
This will cause problems as we start to support using Solo for multiple deployments from the same machine.
I propose that we prefix the log file name with the namespace which matches the deployment. E.g.: namespace=
solo-e2e
~/.solo/logs/solo-e2e-solo.log
~/.solo/logs/solo-e2e-hashgraph-sdk.log
The text was updated successfully, but these errors were encountered: