You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2013/07/30 03:57:49 UTC
[jira] [Work started] (KARAF-2417) Logging doesn't work in cloned
instances
[ https://issues.apache.org/jira/browse/KARAF-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on KARAF-2417 started by Freeman Fang.
> 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
> Assignee: Freeman Fang
> 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