Skip to content

Commit

Permalink
Remove couchconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin M. Roy committed Apr 29, 2012
1 parent daaf052 commit e6b289d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
12 changes: 0 additions & 12 deletions example/configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,15 @@ Daemon:
pidfile: /var/run/myapp.pid

Logging:
filters: {}
formatters:
syslog: ' %(levelname)s <PID %(process)d:%(processName)s> %(name)s.%(funcName)s(): %(message)s'
verbose: '%(levelname) -10s %(asctime)s %(process)-6d %(processName) -15s %(name) -10s %(funcName) -20s: %(message)s'
handlers:
console:
class: logging.StreamHandler
formatter: verbose
level: DEBUG
file:
class: logging.handlers.RotatingFileHandler
formatter: syslog
filename: example.log
level: DEBUG
maxBytes: 1024
backupCount: 5
loggers:
MyApp:
handlers: [console, file]
level: DEBUG
propagate: true
urllib3:
level: ERROR
propagate: true
3 changes: 0 additions & 3 deletions example/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,10 @@
__email__ = 'gmr@myyearbook.com'
__since__ = '2012-04-18'

import sys
sys.path.insert(0, '..')
import clihelper


class MyApp(clihelper.Controller):

def _process(self):
self._logger.info('Would be processing at the specified interval now')

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
author_email='gmr@meetme.com',
url='https://github.com/gmr/clihelper',
py_modules=['clihelper'],
install_requires=['couchconfig',
'logging-config',
install_requires=['logging-config',
'python-daemon',
'pyyaml'],
tests_requires=['mock', 'unittest2'],
Expand Down

0 comments on commit e6b289d

Please sign in to comment.