Better logs

This commit is contained in:
syuilo 2019-03-03 07:47:58 +09:00
parent 4f9b015d1c
commit d50624f0a0
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
2 changed files with 10 additions and 4 deletions

View file

@ -378,7 +378,7 @@ export default async function(
return 0;
});
logger.info(`drive usage is ${usage}`);
logger.debug(`drive usage is ${usage}`);
const instance = await fetchMeta();
const driveCapacity = 1024 * 1024 * (isLocalUser(user) ? instance.localDriveCapacityMb : instance.remoteDriveCapacityMb);