Comments (2)
Wait, it's totally supposed to do that -- you control the verbosity with the --v flag, and it shouldn't output to the console (unless --alsologtostderr is set), it outputs to the .INFO, .ERROR and .WARNING files. I think the problem is that the glog library behavior is entirely configured by command line flags -- so, yes, flag.Parse is supposed to happen first thing, otherwise it doesn't work.
Any app should basically begin by calling flag.Parse (or moreflag.Parse in our case).
from remote-apis-sdks.
In our case we use a different command-line flag library - we have several needs that the stdlib one doesn't address (commands being the most obvious case). There's also the issue with not being able to redirect its output so it's printing over things we're trying to write to stderr.
On a bit more investigation though I think I can work around programmatically using CommandLine.Parse so will close this.
from remote-apis-sdks.
Related Issues (20)
- Support `SymlinkNode` in `ComputeMerkleTree()`? HOT 9
- Handle name collisions between regular and virtual inputs
- Virtual inputs are not serialized into command proto
- cache_test is order dependent
- "fatal error: concurrent map read and map write" from (*gcpBalancer).regeneratePicker HOT 2
- support parsing RemoteExecutionLog HOT 3
- Support resumable uploads HOT 1
- implement resumable uploads HOT 1
- implement a unified uploader
- implement a unified downloader
- implement upload/download cancellation
- Symlinks to inputs are incorrectly rejected HOT 3
- Output paths should be relative to the working directory HOT 1
- Remove deleted api `grpc.WithBalancerName` HOT 2
- Support node properties in the remote tool HOT 1
- test failing at master (Mac)
- ByteStream `resource_name` is incorrect if the instance name is empty HOT 2
- go/pkg/balancer uses experimental gRPC APIs HOT 15
- Bazel and Go builds have inconsistent dependencies
- Allow clients to provide InputDigests to avoid unnecessary transfer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remote-apis-sdks.