Hi,<br>I have Keystone set up (2012.1~rc1~20120316.2145-0ubuntu1) on Ubuntu 12.04 B1 and it isn't logging.<br>Only when stopping the keystone service then running 'keystone-all' in a terminal do I get to see all the debug output.<br>
I've checked permissions (/var/log/keystone and keystone.log are owned by keystone user/group) and I've tried the packaged logging.conf.sample (note the ubuntu package ships with this referencing 'glance') to no avail.<br>
<br>/etc/keystone/keystone.conf<br>...<br>verbose = True<br>debug = True<br>log_config = /etc/keystone/logging.conf<br clear="all">...<br><br><br>/etc/keystone/logging.conf<br>[loggers]<br>keys=root,keystone,combined<br><br>
[formatters]<br>keys=normal,normal_with_name,debug<br><br>[handlers]<br>keys=production,file,devel<br><br>[logger_root]<br>level=NOTSET<br>handlers=devel<br><br>[logger_keystone]<br>level=DEBUG<br>handlers=devel<br>qualname=keystone<br>
<br>[logger_combined]<br>level=DEBUG<br>handlers=devel<br>qualname=keystone-combined<br><br>[handler_production]<br>class=handlers.SysLogHandler<br>level=ERROR<br>formatter=normal_with_name<br>args=(('localhost', handlers.SYSLOG_UDP_PORT), handlers.SysLogHandler.LOG_USER)<br>
<br>[handler_file]<br>class=FileHandler<br>level=DEBUG<br>formatter=normal_with_name<br>args=('/var/log/keystone/keystone.log', 'w')<br><br>[handler_devel]<br>class=StreamHandler<br>level=NOTSET<br>formatter=debug<br>
args=(sys.stdout,)<br><br>[formatter_normal]<br>format=%(asctime)s %(levelname)s %(message)s<br><br>[formatter_normal_with_name]<br>format=(%(name)s): %(asctime)s %(levelname)s %(message)s<br><br>[formatter_debug]<br>format=(%(name)s): %(asctime)s %(levelname)s %(module)s %(funcName)s %(message)s<br>
<br><br><br>Is anyone able to help out what's up with this?<br><br>Cheers,<br><br>Kev<br>-- <br>Kevin Jackson<br>@itarchitectkev<br>