mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Sandboxed API: Env vars: Set GOOGLE_STDERRTHRESHOLD
used by OSS Abseil
Internally, Abseil and Google logging use different flags and env vars to control output. PiperOrigin-RevId: 559715938 Change-Id: I4a908eb835ae0c5d598fb1ca6dc09182a9c3be22
This commit is contained in:
parent
0036d9d09f
commit
eaf8ef88c4
|
@ -118,7 +118,7 @@ class Sandbox {
|
|||
private:
|
||||
// Gets the environment variables passed to the sandboxee.
|
||||
virtual void GetEnvs(std::vector<std::string>* envs) const {
|
||||
envs->push_back("GOOGLE_LOGTOSTDERR=1");
|
||||
envs->push_back("GOOGLE_STDERRTHRESHOLD=INFO");
|
||||
}
|
||||
|
||||
// Returns the sandbox policy. Subclasses can modify the default policy
|
||||
|
|
Loading…
Reference in New Issue
Block a user