mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-10 04:47:53 +00:00
log index with query for grpc
This commit is contained in:
parent
36b721fd8d
commit
1f8efd663c
1 changed files with 1 additions and 1 deletions
|
|
@ -1645,7 +1645,7 @@ func LogQuery(ctx context.Context, method string, req interface{}, logger logger
|
|||
}
|
||||
switch r := req.(type) {
|
||||
case *pb.QueryPQLRequest:
|
||||
logger.Infof("GRPC: %v, %v, %v, %v, %v, %s", ip, ua, method, uinfo.UserID, uinfo.UserName, r.Pql)
|
||||
logger.Infof("GRPC: %v, %v, %v, %v, %v, [%s]%s", ip, ua, method, uinfo.UserID, uinfo.UserName, r.Index, r.Pql)
|
||||
case *pb.QuerySQLRequest:
|
||||
logger.Infof("GRPC: %v, %v, %v, %v, %v, %s", ip, ua, method, uinfo.UserID, uinfo.UserName, r.Sql)
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue