/DistributedLogQuerier

Distributed Log Querier

Primary LanguageGo

DistributedLogQuerier

Run

#在所有compute节点中

go run server.go

#在controller中

go build client.go
./client [query] [log file name]

If running for demo purpose, [log_file_name] may be vm1.log or /var/log/nova/nova-compute.log

Unit Test:

Generate unit test:

go run generate_testfiles.go

#在所有compute节点中

go run server.go

#在controller中

go test -v client_test.go

Result

result1.png result2.png