<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Kevin, Dolph--<br>
    <br>
    Getting this working out-of-the-box has been a TODO of mine for a
    while.  I've filed <a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/keystone/+bug/959610">https://bugs.launchpad.net/keystone/+bug/959610</a> 
    to track.    Adding the example dolph mentioned did not seem to get
    any log output generated.<br>
    <br>
    @Kevin- The logging.conf installed in the current Ubuntu packages is
    the logging.conf that was previously shipped in the pre-KSL keystone
    branch.  The current logging.conf.sample in the source tree seems to
    be copied from glance.  This is also installed at
    /etc/keystone/logging.conf.sample alongside the version we maintain
    in packaging.<br>
    <br>
    Adam<br>
    <br>
    <br>
    On 03/18/2012 01:03 PM, Kevin Jackson wrote:
    <blockquote
cite="mid:CACbLkc=QDuupCDpfDibkBfrR42d1gNDQGa3fLtjtiySuTaRmxg@mail.gmail.com"
      type="cite">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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
More help   : <a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>