dovecot-2.0: quota-fs: Improved debug logging.
dovecot at dovecot.org
dovecot at dovecot.org
Mon May 18 01:35:41 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/7344f1a53f0f
changeset: 9315:7344f1a53f0f
user: Timo Sirainen <tss at iki.fi>
date: Sun May 17 18:35:30 2009 -0400
description:
quota-fs: Improved debug logging.
diffstat:
1 file changed, 6 insertions(+), 4 deletions(-)
src/plugins/quota/quota-fs.c | 10 ++++++----
diffs (27 lines):
diff -r 7c4af82cb5e7 -r 7344f1a53f0f src/plugins/quota/quota-fs.c
--- a/src/plugins/quota/quota-fs.c Sun May 17 18:29:35 2009 -0400
+++ b/src/plugins/quota/quota-fs.c Sun May 17 18:35:30 2009 -0400
@@ -315,8 +315,9 @@ static int do_rquota_user(struct fs_quot
path++;
if (root->root.quota->set->debug) {
- i_info("quota-fs: host=%s, path=%s, uid=%s",
- host, path, dec2str(root->uid));
+ i_info("quota-fs: host=%s, path=%s, uid=%s, %s",
+ host, path, dec2str(root->uid),
+ bytes ? "bytes" : "files");
}
/* clnt_create() polls for a while to establish a connection */
@@ -414,8 +415,9 @@ static int do_rquota_group(struct fs_quo
path++;
if (root->root.quota->set->debug) {
- i_info("quota-fs: host=%s, path=%s, gid=%s",
- host, path, dec2str(root->gid));
+ i_info("quota-fs: host=%s, path=%s, gid=%s, %s",
+ host, path, dec2str(root->gid),
+ bytes ? "bytes" : "files");
}
/* clnt_create() polls for a while to establish a connection */
More information about the dovecot-cvs
mailing list