diff --git a/lib/exaproxy/util/daemon.py b/lib/exaproxy/util/daemon.py index 7e926dd..8849096 100644 --- a/lib/exaproxy/util/daemon.py +++ b/lib/exaproxy/util/daemon.py @@ -64,7 +64,7 @@ def __init__ (self,configuration): resource.setrlimit(resource.RLIMIT_NOFILE, (wanted_limit, hard_limit)) except (resource.error,ValueError),e: - self.log.warning('problem when trying to increase resource limit : ' % str(e)) + self.log.warning('problem when trying to increase resource limit : %s' % str(e)) soft,hard = resource.getrlimit(resource.RLIMIT_NOFILE) if soft < self.nb_descriptors: