summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-11-07 16:37:55 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-11-07 16:37:55 +0000
commit3529887ffb2b6fec8d87989ec4bade932854541b (patch)
treee5178bcb7f426339218b9e0e1798dd8d8b0b5ab8 /src/lib
parent9c03ecdd8c1d010195818763d3cf2ba74b88d299 (diff)
downloadbcfg2-3529887ffb2b6fec8d87989ec4bade932854541b.tar.gz
bcfg2-3529887ffb2b6fec8d87989ec4bade932854541b.tar.bz2
bcfg2-3529887ffb2b6fec8d87989ec4bade932854541b.zip
Increase DBstats verbosity upon import failure
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4965 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Plugins/DBStats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/DBStats.py b/src/lib/Server/Plugins/DBStats.py
index 8f28e8c2d..eb5e89282 100644
--- a/src/lib/Server/Plugins/DBStats.py
+++ b/src/lib/Server/Plugins/DBStats.py
@@ -40,7 +40,7 @@ class DBStats(Bcfg2.Server.Plugin.StatisticsPlugin):
self.core.metadata.clientdata, container, 0, True)
break
except:
- logger.error("DBStats: Failed to write data to database due to lock; retrying")
+ logger.error("DBStats: Failed to write data to database due to lock; retrying", exc_info=1)
if i == 3:
logger.error("DBStats: Retry limit failed; aborting operation")
return