New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle logging configuration exceptions #189

sebdah opened this Issue Jun 23, 2014 · 0 comments


None yet
1 participant

sebdah commented Jun 23, 2014

I don't want to see this when the logging dir does not exist:

[root@ip-172-31-11-49 ec2-user]# dynamic-dynamodb -c dyndyn.conf
Traceback (most recent call last):
  File "/usr/bin/dynamic-dynamodb", line 22, in <module>
    import dynamic_dynamodb
  File "/usr/lib/python2.6/site-packages/dynamic_dynamodb/", line 29, in <module>
    from import dynamodb
  File "/usr/lib/python2.6/site-packages/dynamic_dynamodb/aws/", line 13, in <module>
    from dynamic_dynamodb.log_handler import LOGGER as logger
  File "/usr/lib/python2.6/site-packages/dynamic_dynamodb/", line 97, in <module>
  File "/usr/lib/python2.6/site-packages/logutils/", line 573, in dictConfig
  File "/usr/lib/python2.6/site-packages/logutils/", line 365, in configure
    '%r: %s' % (name, e))
ValueError: Unable to configure handler 'file': [Errno 2] No such file or directory: '/Users/sebastian/dynamic-dynamodb.log'

@sebdah sebdah added this to the 1.17.x milestone Jun 23, 2014

@sebdah sebdah self-assigned this Jun 23, 2014

sebdah added a commit that referenced this issue Jun 23, 2014

@sebdah sebdah closed this Jun 23, 2014

@sebdah sebdah changed the title from Handle bad logging path exceptions to Handle logging configuration exceptions Jun 23, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment