summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Generator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Generator.py b/src/lib/Server/Generator.py
index 6581e649c..99c3411bb 100644
--- a/src/lib/Server/Generator.py
+++ b/src/lib/Server/Generator.py
@@ -2,7 +2,7 @@
__revision__ = '$Revision$'
from elementtree.ElementTree import XML
-from syslog import syslog, LOG_ERR
+from syslog import syslog, LOG_ERR, LOG_INFO
from xml.parsers.expat import ExpatError
class GeneratorError(Exception):
@@ -115,7 +115,7 @@ class DirectoryBacked(object):
def AddEntry(self, name):
'''Add new entry to data structures upon file creation'''
if self.entries.has_key(name):
- print "got multiple adds"
+ syslog(LOG_INFO, "got multiple adds for %s" % name)
else:
if ((name[-1] == '~') or (name[:2] == '.#') or (name == 'SCCS') or (name[-4:] == '.swp')):
return