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

Fix logging with nuxeoctl

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: Launcher

      Description

      Until Nuxeo 9.10 it was possible to put a specific category in DEBUG log level with nuxeoctl

      For example, the command

      ./nuxeoctl status -d org.nuxeo.launcher.config

      displayed

      14:59:32,416 INFO  [org.nuxeo.launcher.config.TomcatConfigurator.<init>(TomcatConfigurator.java:54)] Detected Tomcat server.
      14:59:32,421 INFO  [org.nuxeo.launcher.config.ConfigurationGenerator.<init>(ConfigurationGenerator.java:460)] Nuxeo home:          /opt/nuxeo-server-9.10-tomcat
      14:59:32,421 INFO  [org.nuxeo.launcher.config.ConfigurationGenerator.<init>(ConfigurationGenerator.java:461)] Nuxeo configuration: /opt/nuxeo-server-9.10-tomcat/bin/nuxeo.conf
      14:59:32,444 WARN  [org.nuxeo.launcher.config.ConfigurationGenerator.checkForDeprecatedParameters(ConfigurationGenerator.java:918)] Parameter mail.transport.username is deprecated - please use mail.transport.user instead
      14:59:32,448 INFO  [org.nuxeo.launcher.config.ConfigurationGenerator.includeTemplates(ConfigurationGenerator.java:894)] Include template: /opt/nuxeo-server-9.10-tomcat/templates/common-base
      14:59:32,448 INFO  [org.nuxeo.launcher.config.ConfigurationGenerator.includeTemplates(ConfigurationGenerator.java:894)] Include template: /opt/nuxeo-server-9.10-tomcat/templates/common
      14:59:32,448 INFO  [org.nuxeo.launcher.config.ConfigurationGenerator.includeTemplates(ConfigurationGenerator.java:894)] Include template: /opt/nuxeo-server-9.10-tomcat/templates/default
      14:59:32,449 DEBUG [org.nuxeo.launcher.config.ConfigurationGenerator.includeTemplates(ConfigurationGenerator.java:653)] [/opt/nuxeo-server-9.10-tomcat/templates/common-base, /opt/nuxeo-server-9.10-tomcat/templates/common, /opt/nuxeo-server-9.10-tomcat/templates/default]
      14:59:32,461 DEBUG [org.nuxeo.launcher.config.ConfigurationGenerator.getBindAddress(ConfigurationGenerator.java:1476)] Bind address is "ANY", using local address instead: /127.0.0.1
      14:59:32,462 DEBUG [org.nuxeo.launcher.config.ConfigurationGenerator.getBindAddress(ConfigurationGenerator.java:1478)] Configured bind address: /127.0.0.1
      14:59:32,463 DEBUG [org.nuxeo.launcher.config.ConfigurationGenerator.evalLoopbackURL(ConfigurationGenerator.java:776)] Set as loop back URL: http://127.0.0.1:8080/nuxeo
      14:59:32,464 DEBUG [org.nuxeo.launcher.config.ConfigurationGenerator.logDebugInformation(ConfigurationGenerator.java:659)] Nuxeo Dev mode enabled
      14:59:32,465 DEBUG [org.nuxeo.launcher.config.ConfigurationGenerator.logDebugInformation(ConfigurationGenerator.java:671)] Nuxeo Seam HotReload is not enabled
      14:59:32,781 WARN  [org.nuxeo.launcher.NuxeoLauncher.launch(NuxeoLauncher.java:1161)] Server is not running.
       

      The problem may be linked to the upgrade to log4j2 ?

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: