Uploaded image for project: 'Gadgets'
  1. Gadgets
  2. GADGETS-53

Stop logging into the console

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.3.0
    • None
    • None

      Shindig logs many stuff in the console directly. We should add a bridge to log4j

      27 mars 2013 10:20:13 org.apache.shindig.config.JsonContainerConfig loadContaine
      rs
      INFO: Loading resources from: containers/default/container.js
      27 mars 2013 10:20:13 org.apache.shindig.config.JsonContainerConfig loadResource
      s
      INFO: Reading container config: containers/default/container.js
      27 mars 2013 10:20:13 org.apache.shindig.config.JsonContainerConfig loadContaine
      rs
      INFO: Loading resources from: org/ametys/plugins/gadgets/container.js
      27 mars 2013 10:20:13 org.apache.shindig.config.JsonContainerConfig loadResource
      s
      INFO: Reading container config: org/ametys/plugins/gadgets/container.js
      27 mars 2013 10:20:13 org.apache.shindig.gadgets.features.FeatureRegistry regist
      er
      INFO: Loading resources from: res:features/features.txt
      27 mars 2013 10:20:13 org.apache.shindig.common.xml.XmlUtil <clinit>
      INFO: Not using secure XML processing.
      27 mars 2013 10:20:13 org.apache.shindig.common.xml.XmlUtil <clinit>
      INFO: Reusing document builders
      27 mars 2013 10:20:14 org.apache.shindig.gadgets.servlet.CajaContentRewriter <in
      it>
      INFO: Cajoled cache created{}
      27 mars 2013 10:20:15 org.apache.shindig.gadgets.servlet.CajaContentRewriter <in
      it>
      INFO: Cajoled cache created{}
      27 mars 2013 10:20:15 org.apache.shindig.gadgets.oauth.OAuthModule$OAuthStorePro
      vider loadDefaultKey
      ATTENTION: Couldn't load OAuth signing key. To create a key, run:
      openssl req -newkey rsa:1024 -days 365 -nodes -x509 -keyout testkey.pem \
      -out testkey.pem -subj '/CN=mytestkey'
      openssl pkcs8 -in testkey.pem -out oauthkey.pem -topk8 -nocrypt -outform PEM

      Then edit shindig.properties and add these lines:
      shindig.signing.key-file=<path-to-oauthkey.pem>
      shindig.signing.key-name=mykey

      27 mars 2013 10:20:15 org.apache.shindig.gadgets.oauth.OAuthModule$OAuthCrypterP
      rovider <init>
      INFO: Using random key for OAuth client-side state encryption

            ngavalda Nicolas Gavalda (Inactive)
            raphael Raphaƫl Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: