Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22240

nuxeoctl log-level

    XMLWordPrintable

    Details

      Description

      Add a nuxeoctl log-level command that can parse and change the log4j.xml.

      Example useful commands to have:

      • log-level get <logger.name>: gets the log level and those inherited
      • log-level set <logger.name> <level>: sets the log level
      • log-level list [<pattern>]: lists all log levels set (on this pattern if any)
      > nuxeoctl log-level get org.nuxeo.ecm.core.storage.sql.jdbc
      org.nuxeo.ecm.core.storage.sql.jdbc inherit
      org.nuxeo warn
      
      > nuxeoctl log-level set org.nuxeo.ecm.core.storage.sql.jdbc trace
      
      > nuxeoctl log-level get org.nuxeo.ecm.core.storage.sql.jdbc
      org.nuxeo.ecm.core.storage.sql.jdbc trace
      org.nuxeo warn
      
      > nuxeoctl log-level list org.nuxeo.ecm.core.storage*
      org.nuxeo.ecm.core.storage.dbs.DBSCachingRepository info
      org.nuxeo.ecm.core.storage.sql.jdbc trace
      org.nuxeo.ecm.core.storage.sql.SessionImpl debug
      org.nuxeo.ecm.core.management.jtajca trace
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: