From 5425eaa9c0427a3fa87002f8afff90bbe929e93b Mon Sep 17 00:00:00 2001 From: lars Date: Tue, 13 Feb 2007 22:24:09 +0000 Subject: [PATCH] changed default log level from 'debug' to 'info' fixed a debug output message fixed html validity --- conf-examples/cryptobox.conf | 2 +- plugins/volume_mount/volume_umount.cs | 4 ++-- src/cryptobox/web/dataset.py | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/conf-examples/cryptobox.conf b/conf-examples/cryptobox.conf index 6ece189..007e8f5 100644 --- a/conf-examples/cryptobox.conf +++ b/conf-examples/cryptobox.conf @@ -47,7 +47,7 @@ EventDir = /etc/cryptobox-server/events.d [Log] # possible values are "debug", "info", "warn" and "error" or numbers from # 0 (debug) to 7 (error) -Level = debug +Level = info # where to write the log messages to? # possible values are 'file' and 'syslog' diff --git a/plugins/volume_mount/volume_umount.cs b/plugins/volume_mount/volume_umount.cs index a7d8e53..4d65c76 100644 --- a/plugins/volume_mount/volume_umount.cs +++ b/plugins/volume_mount/volume_umount.cs @@ -8,11 +8,11 @@ -

+
-

+
diff --git a/src/cryptobox/web/dataset.py b/src/cryptobox/web/dataset.py index 28d7174..bce10a1 100644 --- a/src/cryptobox/web/dataset.py +++ b/src/cryptobox/web/dataset.py @@ -144,7 +144,8 @@ class WebInterfaceDataset(dict): self["Data.CurrentDisk.size"] = cbxTools.get_blockdevice_size_humanly( container.get_device()) if is_mounted: - self.cbox.log.debug("FOO:") + self.cbox.log.debug("Retrieving container's data: %s" % \ + container.get_name()) (size, avail, used) = container.get_capacity() percent = int(used)*100 / int(size) self.cbox.log.debug(percent)