You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Ioannis Canellos (JIRA)" <ji...@apache.org> on 2010/07/19 15:45:49 UTC

[jira] Commented: (KARAF-9) The config/edit command changes does not takes precedence over configuration files in the etc folder at restart

    [ https://issues.apache.org/jira/browse/KARAF-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889861#action_12889861 ] 

Ioannis Canellos commented on KARAF-9:
--------------------------------------

I think that this issue should be closed, since that functionality has been implemented for quite some time now.

> The config/edit command changes does not takes precedence over configuration files in the etc folder at restart
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-9
>                 URL: https://issues.apache.org/jira/browse/KARAF-9
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>
> If you do the following
> servicemix config> edit org.ops4j.pax.logging
> servicemix config> log4j.appender.out.file /tmp/servicemix.log
> servicemix config> update
> It does create my servicemix.log file in the /tmp directory and will log stuff there but if I shut the instance down
> and restart it - it redirects back to the original location for the servicemix.log file in the data directory.
> =============
> Guillaume Nodet:
> Actually, this is the currently designed behavior. Configuration updates do not take precedence over the configuration files. So each time the configuration file is changed or reloaded due to a server restart, the changes done via the console are lost.
> However, this may be improved by saving the changes to the properties file instead of saving the changes directly into the ConfigAdmin service.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.