karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Anstey (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-2417) Logging doesn't work in cloned instances
Date Mon, 29 Jul 2013 19:09:50 GMT

     [ https://issues.apache.org/jira/browse/KARAF-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Anstey updated KARAF-2417:
-----------------------------------

    Affects Version/s: 3.0.0
    
> Logging doesn't work in cloned instances 
> -----------------------------------------
>
>                 Key: KARAF-2417
>                 URL: https://issues.apache.org/jira/browse/KARAF-2417
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.3.3, 2.4.0, 3.0.0
>            Reporter: Jonathan Anstey
>         Attachments: fix_clone_logging.patch, KARAF-2417-trunk.patch
>
>
> I'm getting no logs in a cloned instance on start:
> {code}
> [janstey@bender apache-karaf-2.4.0-SNAPSHOT]$ ./bin/karaf 
>         __ __                  ____      
>        / //_/____ __________ _/ __/      
>       / ,<  / __ `/ ___/ __ `/ /_        
>      / /| |/ /_/ / /  / /_/ / __/        
>     /_/ |_|\__,_/_/   \__,_/_/         
>   Apache Karaf (2.4.0-SNAPSHOT)
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '<ctrl-d>' or type 'osgi:shutdown' or 'logout' to shutdown Karaf.
> karaf@root> admin:clone --ssh-port 8102 --rmi-server-port 44445 --rmi-registry-port
1100 root myClone
> karaf@root> admin:list 
>   SSH Port   RMI Ports         State       Pid  Name
> [    8101] [1099/44444     ] [Started ] [23654] root
> [    8102] [1100/44445     ] [Stopped ] [    0] myClone
> karaf@root> admin:start myClone 
> karaf@root> admin:connect myClone log:display
> Connecting to host localhost on port 8102
> Connected
> karaf@root> 
> {code}
> The log4j config is getting messed up by the filtering stuff in admin:clone. Will attach
patch soon.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message