DSpace services log to the command line
---------------------------------------

                 Key: DS-340
                 URL: http://jira.dspace.org/jira/browse/DS-340
             Project: DSpace 1.x
          Issue Type: Bug
          Components: DSpace API
    Affects Versions: 1.6.0
            Reporter: Stuart Lewis
             Fix For: 1.6.0


When running command line scripts, the DSpace services log to the screen rather 
than to a log file (initially at least, before logging is configured).

E.g.

laptop:bin username$ ./dspace metadata-export
INFO Created new kernel: 
DSpaceKernel:org.dspace:name=4ca61ba8-d4a4-4fca-bd26-ed842d55c3b8,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
INFO Registered new Kernel MBEAN: 
org.dspace:name=4ca61ba8-d4a4-4fca-bd26-ed842d55c3b8,type=DSpaceKernel 
[DSpaceKernel:org.dspace:name=4ca61ba8-d4a4-4fca-bd26-ed842d55c3b8,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null]
INFO Registered service (org.dspace.services.events.SystemEventService) 
serviceName (org.dspace.services.EventService) with 2 mixins
INFO Registered service (org.dspace.services.caching.CachingServiceImpl) 
serviceName (org.dspace.services.CachingService) with 5 mixins
INFO Registered service 
(org.springframework.context.event.SimpleApplicationEventMulticaster) 
serviceName (applicationEventMulticaster) with 1 mixins
INFO Registered service 
(org.dspace.servicemanager.config.DSpaceConfigurationService) serviceName 
(org.dspace.services.ConfigurationService) with 1 mixins
INFO Registered service 
(org.springframework.context.support.DelegatingMessageSource) serviceName 
(messageSource) with 2 mixins
INFO Registered service (org.dspace.servicemanager.DSpaceServiceManager) 
serviceName (org.dspace.servicemanager.ServiceManagerSystem) with 2 mixins
INFO Registered service 
(org.springframework.cache.ehcache.EhCacheManagerFactoryBean) serviceName 
(org.dspace.caching.ehcache.CacheManager) with 3 mixins
INFO Registered service 
(org.dspace.services.sessions.SessionRequestServiceImpl) serviceName 
(org.dspace.services.SessionService) with 4 mixins
INFO Registered service 
(org.dspace.servicemanager.spring.DSpaceBeanPostProcessor) serviceName 
(org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0) with 2 mixins
Registered 9 service's mixins from loaded core services
INFO DSpace kernel startup completed in 1318 ms and registered as MBean: 
org.dspace:name=4ca61ba8-d4a4-4fca-bd26-ed842d55c3b8,type=DSpaceKernel
Required parameter -f missing!
usage: MetadataExport
       
 -a,--all     include all metadata fields that are not normally changed
              (e.g. provenance)
 -f,--file    destination where you want file written
 -h,--help    help
 -i,--id      ID or handle of thing to export (item, collection, or
              community)

full export: metadataexport -f filename
partial export: metadataexport -i handle -f filename
Shutdown DSpace core service manager
INFO: DSpace kernel shutdown completed and unregistered MBean: 
org.dspace:name=4ca61ba8-d4a4-4fca-bd26-ed842d55c3b8,type=DSpaceKernel


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to