aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-10-14 07:23:21 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-10-14 07:23:21 +0200
commit5021a6ab640bdc36265412233cedbb588e7f04bb (patch)
tree3651f1a1b481fdb9680ef01df31ef33c8cda3618
parentAdded mongodb.py (to load articles from previous version of pyAggr3g470r). (diff)
downloadnewspipe-5021a6ab640bdc36265412233cedbb588e7f04bb.tar.gz
newspipe-5021a6ab640bdc36265412233cedbb588e7f04bb.tar.bz2
newspipe-5021a6ab640bdc36265412233cedbb588e7f04bb.zip
Updated default conf file.
-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