mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
ubik-fix-allbetter-loglevels-20090616
LICENSE IPL10 FIXES 124938 make allBetter log more sensibly; right now it's very loud. move it to level 25
This commit is contained in:
parent
a44bee5615
commit
e44c38c423
@ -114,7 +114,7 @@ urecovery_AllBetter(register struct ubik_dbase *adbase, int areadAny)
|
||||
{
|
||||
register afs_int32 rcode;
|
||||
|
||||
ubik_dprint("allbetter checking\n");
|
||||
ubik_dprint_25("allbetter checking\n");
|
||||
rcode = 0;
|
||||
|
||||
|
||||
@ -137,7 +137,7 @@ urecovery_AllBetter(register struct ubik_dbase *adbase, int areadAny)
|
||||
rcode = 1;
|
||||
}
|
||||
|
||||
ubik_dprint("allbetter: returning %d\n", rcode);
|
||||
ubik_dprint_25("allbetter: returning %d\n", rcode);
|
||||
return rcode;
|
||||
}
|
||||
|
||||
|
@ -557,6 +557,16 @@ SVOTE_GetSyncSite(register struct rx_call * rxcall,
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
ubik_dprint_25(const char *format, ...)
|
||||
{
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, format);
|
||||
vViceLog(25, (format, ap));
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
void
|
||||
ubik_dprint(const char *format, ...)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user