feat: Add some debug logging when receiving a write request

pull/24376/head
Carol (Nichols || Goulding) 2020-04-23 11:11:31 -04:00
parent 6791b9598c
commit 2ecb3b0525
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ async fn write(req: hyper::Request<Body>, app: Arc<App>) -> Result<Option<Body>,
let body = str::from_utf8(&body).unwrap();
let mut points = line_parser::parse(body).expect("TODO: Unable to parse lines");
debug!("Parsed {} points", points.len());
app.db
.write_points(write_info.org, bucket_id, &mut points)