]> git.ipfire.org Git - collecty.git/blobdiff - collecty/__init__.py
Use autotools
[collecty.git] / collecty / __init__.py
diff --git a/collecty/__init__.py b/collecty/__init__.py
deleted file mode 100644 (file)
index 187f6ab..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/usr/bin/python
-###############################################################################
-#                                                                             #
-# collecty - A system statistics collection daemon for IPFire                 #
-# Copyright (C) 2012 IPFire development team                                  #
-#                                                                             #
-# This program is free software: you can redistribute it and/or modify        #
-# it under the terms of the GNU General Public License as published by        #
-# the Free Software Foundation, either version 3 of the License, or           #
-# (at your option) any later version.                                         #
-#                                                                             #
-# This program is distributed in the hope that it will be useful,             #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
-# GNU General Public License for more details.                                #
-#                                                                             #
-# You should have received a copy of the GNU General Public License           #
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
-#                                                                             #
-###############################################################################
-
-# Initialize logging.
-import logging
-log = logging.getLogger("collecty")
-log.level = logging.DEBUG
-
-handler = logging.StreamHandler()
-handler.setLevel(logging.DEBUG)
-log.handlers.append(handler)
-
-formatter = logging.Formatter("%(asctime)s | %(name)-20s - %(levelname)-6s | %(message)s")
-handler.setFormatter(formatter)
-
-from client import CollectyClient
-from daemon import Collecty