[
http://jira.nuxeo.org/browse/NXP-2970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47684#action_47684
]
Stéfane Fermigier commented on NXP-2970:
----------------------------------------
Also, common errors shouldn't print a full stacktrace.
Ex:
127.0.0.1> ls -a
Command failed with error:
java.text.ParseException: Option is not recognized: a
at
org.nuxeo.ecm.shell.CommandLineService.parse(CommandLineService.java:252)
at
org.nuxeo.ecm.shell.commands.InteractiveCommand.processInput(InteractiveCommand.java:84)
at
org.nuxeo.ecm.shell.commands.InteractiveCommand.run(InteractiveCommand.java:71)
at
org.nuxeo.ecm.shell.CommandLineService.runCommand(CommandLineService.java:305)
at org.nuxeo.ecm.shell.Main.main(Main.java:91)
at
org.nuxeo.ecm.shell.CommandLineService$1.run(CommandLineService.java:334)
at
org.nuxeo.osgi.application.StandaloneApplication.main(StandaloneApplication.java:285)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.nuxeo.osgi.application.Main.main(Main.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.nuxeo.runtime.launcher.Main.main(Main.java:83)
> Make Nuxeo Shell less chatty
> ----------------------------
>
> Key: NXP-2970
> URL: http://jira.nuxeo.org/browse/NXP-2970
> Project: Nuxeo Enterprise Platform
> Issue Type: Improvement
> Components: Installers / Admin tools
> Reporter: Stéfane Fermigier
> Assignee: Alain Escaffre
> Priority: Major
> Fix For: 5.2 M4
>
>
> Make Nuxeo Shell spit much less logs during starting and operation.
> Currently upon startup we get:
> localhost% sh nxclient.sh
> Dec 19, 2008 11:52:27 AM org.nuxeo.osgi.BundleRegistry doRegister
> INFO: Registering resolved bundle: org.nuxeo.osgi
> Dec 19, 2008 11:52:27 AM org.nuxeo.osgi.BundleRegistry doRegister
> INFO: Registering resolved bundle: org.nuxeo.common
> Dec 19, 2008 11:52:27 AM org.nuxeo.osgi.BundleRegistry doRegister
> INFO: Registering resolved bundle: org.nuxeo.ecm.core.api
> Dec 19, 2008 11:52:27 AM org.nuxeo.osgi.BundleRegistry doRegister
> INFO: Registering resolved bundle: org.nuxeo.ecm.core.client
> Dec 19, 2008 11:52:27 AM org.nuxeo.osgi.BundleRegistry doRegister
> INFO: Registering resolved bundle: org.nuxeo.ecm.core.io
> Dec 19, 2008 11:52:27 AM org.nuxeo.osgi.BundleRegistry doRegister
> INFO: Registering resolved bundle: org.nuxeo.ecm.core.schema
> Dec 19, 2008 11:52:27 AM org.nuxeo.osgi.BundleRegistry doRegister
> INFO: Registering resolved bundle: org.nuxeo.ecm.platform.audit.api
> Dec 19, 2008 11:52:27 AM org.nuxeo.osgi.BundleRegistry doRegister
> INFO: Registering resolved bundle: org.nuxeo.ecm.platform.search.api
> Dec 19, 2008 11:52:27 AM org.nuxeo.osgi.BundleRegistry doRegister
> INFO: Registering resolved bundle: org.nuxeo.runtime
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.osgi.OSGiRuntimeActivator start
> INFO: Starting Runtime Activator
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.AbstractRuntimeService start
> INFO: Starting NXRuntime service OSGi NXRuntime; version: 1.4.0
> /Users/fermigier/hg/nuxeo-platform-shell/nuxeo-shell/target/nxshell/config
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> _register
> INFO: Registering component: service:org.nuxeo.runtime.EventService
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> registerServices
> INFO: Registering service: org.nuxeo.runtime.services.event.EventService
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> _register
> INFO: Registering component:
> service:org.nuxeo.runtime.remoting.RemotingService
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> registerServices
> INFO: Registering service: org.nuxeo.runtime.remoting.RemotingService
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> _register
> INFO: Registering component:
> service:org.nuxeo.runtime.services.deployment.DeploymentService
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> registerServices
> INFO: Registering service:
> org.nuxeo.runtime.services.deployment.DeploymentService
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> _register
> INFO: Registering component: service:org.nuxeo.runtime.streaming
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> registerServices
> INFO: Registering service: org.nuxeo.runtime.services.streaming.StreamManager
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> _register
> INFO: Registering component: service:org.nuxeo.runtime.LoginComponent
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> registerServices
> INFO: Registering service: org.nuxeo.runtime.api.login.LoginService
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> _register
> INFO: Registering component: service:org.nuxeo.runtime.api.ServiceManagement
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> registerServices
> INFO: Registering service: org.nuxeo.runtime.api.ServiceManager
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> _register
> INFO: Registering component:
> service:org.nuxeo.runtime.api.DefaultJBossBindings
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> _register
> INFO: Registering component:
> service:org.nuxeo.ecm.core.search.api.client.querymodel.QueryModelService
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> registerServices
> INFO: Registering service:
> org.nuxeo.ecm.core.search.api.client.querymodel.QueryModelService
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> _register
> INFO: Registering component:
> service:org.nuxeo.ecm.core.search.indexingwrapper.IndexingWrapperManagerComponent
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> registerServices
> INFO: Registering service:
> org.nuxeo.ecm.core.search.api.indexingwrapper.IndexingWrapperManagerService
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> _register
> INFO: Registering component: service:org.nuxeo.ecm.core.searh.api.adpaters
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> _register
> INFO: Registering component: service:org.nuxeo.ecm.core.schema.TypeService
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> registerServices
> INFO: Registering service: org.nuxeo.ecm.core.schema.SchemaManager
> Dec 19, 2008 11:52:27 AM org.nuxeo.ecm.core.schema.SchemaManagerImpl
> registerDocumentType
> INFO: Register document type: Document
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> _register
> INFO: Registering component:
> service:org.nuxeo.ecm.core.api.DocumentAdapterService
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> registerServices
> INFO: Registering service:
> org.nuxeo.ecm.core.api.adapter.DocumentAdapterService
> Dec 19, 2008 11:52:27 AM
> org.nuxeo.ecm.core.api.adapter.DocumentAdapterService registerAdapterFactory
> INFO: Registered document adapter factory null: interface
> org.nuxeo.ecm.core.search.api.indexingwrapper.DocumentModelIndexingWrapper
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> _register
> INFO: Registering component:
> service:org.nuxeo.ecm.core.api.repository.RepositoryManager
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> registerServices
> INFO: Registering service: org.nuxeo.ecm.core.api.repository.RepositoryManager
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> _register
> INFO: Registering component:
> service:org.nuxeo.ecm.core.api.repository.impl.DocumentProviderManager
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> registerServices
> INFO: Registering service: org.nuxeo.ecm.core.api.repository.DocumentProvider
> Dec 19, 2008 11:52:27 AM org.nuxeo.osgi.BundleRegistry doRegister
> INFO: Registering resolved bundle: org.nuxeo.runtime.scripting
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> _register
> INFO: Registering component: service:org.nuxeo.runtime.ScriptingComponent
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> registerServices
> INFO: Registering service: org.nuxeo.runtime.scripting.ScriptingService
> Dec 19, 2008 11:52:27 AM org.nuxeo.osgi.BundleRegistry doRegister
> INFO: Registering resolved bundle: org.nuxeo.runtime.test
> Dec 19, 2008 11:52:27 AM org.nuxeo.osgi.BundleRegistry doRegister
> INFO: Registering resolved bundle: org.nuxeo.ecm.shell.commands
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> _register
> INFO: Registering component: service:org.nuxeo.ecm.shell.CommandLineService
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> registerServices
> INFO: Registering service: org.nuxeo.ecm.shell.CommandLineService
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.model.impl.ComponentManagerImpl
> _register
> INFO: Registering component: service:org.nuxeo.ecm.shell.commands-base
> Dec 19, 2008 11:52:27 AM org.nuxeo.osgi.BundleRegistry doRegister
> INFO: Registering resolved bundle: osgi.core
> Dec 19, 2008 11:52:27 AM org.nuxeo.runtime.osgi.OSGiRuntimeService
> printStatusMessage
> INFO: Nuxeo EP Started
> ======================================================================
> = Nuxeo EP Started
> ======================================================================
> = Component Loading Status: Pending: 0 / Unstarted: 0 / Total: 17
> ======================================================================
> Framework started in 0 sec.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets