mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(bin): separate journald and file log filters, log debug to file by default (#5197)
This commit is contained in:
@ -168,7 +168,7 @@ impl HeadersClient for FileClient {
|
||||
) -> Self::Output {
|
||||
// this just searches the buffer, and fails if it can't find the header
|
||||
let mut headers = Vec::new();
|
||||
trace!(target : "downloaders::file", request=?request, "Getting headers");
|
||||
trace!(target: "downloaders::file", request=?request, "Getting headers");
|
||||
|
||||
let start_num = match request.start {
|
||||
BlockHashOrNumber::Hash(hash) => match self.hash_to_number.get(&hash) {
|
||||
@ -192,7 +192,7 @@ impl HeadersClient for FileClient {
|
||||
}
|
||||
};
|
||||
|
||||
trace!(target : "downloaders::file", range=?range, "Getting headers with range");
|
||||
trace!(target: "downloaders::file", range=?range, "Getting headers with range");
|
||||
|
||||
for block_number in range {
|
||||
match self.headers.get(&block_number).cloned() {
|
||||
|
||||
Reference in New Issue
Block a user