@@ -103,7 +103,7 @@ impl StaticSortedFileBuilder {
103103 }
104104
105105 /// Computes a AQMF from the keys of all entries.
106- #[ tracing:: instrument( skip_all) ]
106+ #[ tracing:: instrument( level = "trace" , skip_all) ]
107107 fn compute_aqmf < E : Entry > ( & mut self , entries : & [ E ] ) {
108108 let mut filter = qfilter:: Filter :: new ( entries. len ( ) as u64 , AQMF_FALSE_POSITIVE_RATE )
109109 // This won't fail as we limit the number of entries per SST file
@@ -118,7 +118,7 @@ impl StaticSortedFileBuilder {
118118 }
119119
120120 /// Computes compression dictionaries from keys and values of all entries
121- #[ tracing:: instrument( skip_all) ]
121+ #[ tracing:: instrument( level = "trace" , skip_all) ]
122122 fn compute_compression_dictionary < E : Entry > (
123123 & mut self ,
124124 entries : & [ E ] ,
@@ -204,7 +204,7 @@ impl StaticSortedFileBuilder {
204204 }
205205
206206 /// Compute index, key and value blocks.
207- #[ tracing:: instrument( skip_all) ]
207+ #[ tracing:: instrument( level = "trace" , skip_all) ]
208208 fn compute_blocks < E : Entry > ( & mut self , entries : & [ E ] ) {
209209 // TODO implement multi level index
210210 // TODO place key and value block near to each other
@@ -355,19 +355,19 @@ impl StaticSortedFileBuilder {
355355 }
356356
357357 /// Compresses an index or key block.
358- #[ tracing:: instrument( skip_all) ]
358+ #[ tracing:: instrument( level = "trace" , skip_all) ]
359359 fn compress_key_block ( & self , block : & [ u8 ] ) -> ( u32 , Vec < u8 > ) {
360360 self . compress_block ( block, & self . key_compression_dictionary )
361361 }
362362
363363 /// Compresses a value block.
364- #[ tracing:: instrument( skip_all) ]
364+ #[ tracing:: instrument( level = "trace" , skip_all) ]
365365 fn compress_value_block ( & self , block : & [ u8 ] ) -> ( u32 , Vec < u8 > ) {
366366 self . compress_block ( block, & self . value_compression_dictionary )
367367 }
368368
369369 /// Writes the SST file.
370- #[ tracing:: instrument( skip_all) ]
370+ #[ tracing:: instrument( level = "trace" , skip_all) ]
371371 pub fn write ( & self , file : & Path ) -> io:: Result < File > {
372372 let mut file = BufWriter :: new ( File :: create ( file) ?) ;
373373 // magic number and version
0 commit comments