Advertisement
Guest User

Untitled

a guest
Feb 27th, 2012
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. [DEFAULT]
  2. # Show more verbose log output (sets INFO log level output)
  3. verbose = True
  4.  
  5. # Show debugging output in logs (sets DEBUG log level output)
  6. debug = False
  7.  
  8. # Log to this file. Make sure you do not set the same log
  9. # file for both the API and registry servers!
  10. log_file = /var/log/glance/scrubber.log
  11.  
  12. # Send logs to syslog (/dev/log) instead of to file specified by `log_file`
  13. use_syslog = False
  14.  
  15. # Delayed delete time in seconds
  16. scrub_time = 43200
  17.  
  18. # Should we run our own loop or rely on cron/scheduler to run us
  19. daemon = False
  20.  
  21. # Loop time between checking the db for new items to schedule for delete
  22. wakeup_time = 300
  23.  
  24. # SQLAlchemy connection string for the reference implementation
  25. # registry server. Any valid SQLAlchemy connection string is fine.
  26. # See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine
  27. sql_connection = mysql://[username]:[passwd]@192.168.0.254/glance
  28.  
  29. # Period in seconds after which SQLAlchemy should reestablish its connection
  30. # to the database.
  31. #
  32. # MySQL uses a default `wait_timeout` of 8 hours, after which it will drop
  33. # idle connections. This can result in 'MySQL Gone Away' exceptions. If you
  34. # notice this, you can lower this value to ensure that SQLAlchemy reconnects
  35. # before MySQL can drop the connection.
  36. sql_idle_timeout = 3600
  37.  
  38. [app:glance-scrubber]
  39. paste.app_factory = glance.store.scrubber:app_factory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement