aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/conf.cfg-sample11
-rwxr-xr-xpyaggr3g470r/log.py2
2 files changed, 5 insertions, 8 deletions
diff --git a/conf/conf.cfg-sample b/conf/conf.cfg-sample
index 17c1e5dc..fe8c243c 100644
--- a/conf/conf.cfg-sample
+++ b/conf/conf.cfg-sample
@@ -1,17 +1,13 @@
[database]
-name = tardys
+name = pyaggr3g470r1
address = 127.0.0.1
port = 27017
username = root
password = root
-[elasticsearch]
-host = 127.0.0.1
-port = 9200
[crawler]
user_agent = Mozilla/5.0 (X11; Debian; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0
thread_time_out = 10.0
get_time_out = 5.0
-content_type = text/html;application/pdf;application/vnd.oasis.opendocument.text;application/vnd.openxmlformats-officedocument.wordprocessingml.document
[webserver]
debug = 1
host = 0.0.0.0
@@ -20,7 +16,8 @@ username = admin
password = e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4
secretkey = 123456790
[mail]
-host = arthur.tudor.lu
+host =
port = 25
ssl = 0
-username = cedric.bonhomme@tudor.lu \ No newline at end of file
+username =
+password =
diff --git a/pyaggr3g470r/log.py b/pyaggr3g470r/log.py
index c41fecb9..5db5d838 100755
--- a/pyaggr3g470r/log.py
+++ b/pyaggr3g470r/log.py
@@ -36,7 +36,7 @@ class Log(object):
"""
import logging
self.logger = logging.getLogger("pyaggr3g470r")
- hdlr = logging.FileHandler('pyaggr3g470r/var/pyaggr3g470r.log')
+ hdlr = logging.FileHandler('./var/pyaggr3g470r.log')
formater = logging.Formatter('%(asctime)s %(levelname)s %(message)s')
hdlr.setFormatter(formater)
self.logger.addHandler(hdlr)
bgstack15