mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
In the check log write status:correct only in verbose mode
This commit is contained in:
parent
a3121c31c5
commit
fa635f72b8
1 changed files with 3 additions and 2 deletions
|
|
@ -764,10 +764,11 @@ static int file_post(struct snapraid_state* state, int fix, unsigned i, struct s
|
|||
log_tag("status:recoverable:%s:%s\n", disk->name, esc(file->sub));
|
||||
msg_info("recoverable %s\n", path);
|
||||
} else {
|
||||
log_tag("status:correct:%s:%s\n", disk->name, esc(file->sub));
|
||||
/* we don't use msg_verbose() because it also goes into the log */
|
||||
if (msg_level >= MSG_VERBOSE)
|
||||
if (msg_level >= MSG_VERBOSE) {
|
||||
log_tag("status:correct:%s:%s\n", disk->name, esc(file->sub));
|
||||
msg_info("correct %s\n", path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue