Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Difficult to distinguish pilot logs from the underlying database logs #166

Open
wallrj opened this issue Dec 1, 2017 · 0 comments
Open
Labels
Milestone

Comments

@wallrj
Copy link
Member

wallrj commented Dec 1, 2017

It's difficult to distinguish between the logs produced by the Pilot process and the logs from the database subprocess.

For example:

kubectl --namespace test-cassandracluster-1512066728-5581 logs cass-cassandra-1512066728-5581-cassandra-ringnodes-1
...
I1130 18:36:33.090716       1 controller.go:64] Finished syncing pilot "test-cassandracluster-1512066728-5581/cass-cassandra-1512066728-5581-cassandra-ringnodes-0" (23.042µs)
I1130 18:36:33.090975       1 controller.go:31] processed work item
I1130 18:36:33.668826       1 controller.go:64] Finished syncing pilot "test-cassandracluster-1512066728-5581/cass-cassandra-1512066728-5581-cassandra-ringnodes-1" (14.238274ms)
I1130 18:36:33.669211       1 controller.go:31] processed work item
WARN  18:36:33 Seed gossip version is -2147483648; will not connect with that version

The last line is from Cassandra, but it's in a different format.

We could launch a goroutine to read from the stdout / stderr pipe of the process and feed it to glog.

Or we could reconsider a design where the database and the pilot run in separate containers, in which case there logs are kept separate anyway.

/kind bug

wallrj added a commit to wallrj/navigator that referenced this issue Dec 1, 2017
wallrj added a commit to wallrj/navigator that referenced this issue Dec 1, 2017
wallrj added a commit to wallrj/navigator that referenced this issue Dec 1, 2017
wallrj added a commit to wallrj/navigator that referenced this issue Dec 1, 2017
wallrj added a commit to wallrj/navigator that referenced this issue Dec 2, 2017
wallrj added a commit to wallrj/navigator that referenced this issue Dec 5, 2017
wallrj added a commit to wallrj/navigator that referenced this issue Dec 6, 2017
wallrj added a commit to wallrj/navigator that referenced this issue Dec 13, 2017
wallrj added a commit to wallrj/navigator that referenced this issue Dec 13, 2017
wallrj added a commit to wallrj/navigator that referenced this issue Dec 14, 2017
wallrj added a commit to wallrj/navigator that referenced this issue Jan 24, 2018
@wallrj wallrj added this to the v0.2 milestone May 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants