Reduce exit logging to 1k lines
As previously discovered with Rita client we are unable to accept the
gzip payload when we attempt to send 100k lines at a time. When this fix
was applied to Rita client it was neglected on Rita exit, this patch
corrects that oversight.
@@ -24,7 +24,7 @@ pub fn enable_remote_logging() -> Result<(), Error> {
)
.set_compression_level(Compression::Fast)
.set_sink_url(logging_url)
- .set_threshold(100_000)
+ .set_threshold(1_000)
.set_format(Box::new(move |record: &Record| {
format!(
"{} {} rita_exit: {}\n",
