Open agentzh opened 6 months ago
In the current design, you should control the log level of the attached process at the process side, since the library was injected into process, so environment variables were read at the process side.
Maybe we should have the log level config in the shared memory, so it's globally available.
I tried to use the system environment variable to control the log level of bpftime but it won't work, at least for the
bpftime attach
command: