You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2013/08/12 05:28:49 UTC
[jira] [Assigned] (KARAF-2400) config:prop* command's '-b' option
not as documented
[ https://issues.apache.org/jira/browse/KARAF-2400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré reassigned KARAF-2400:
-------------------------------------------
Assignee: Jean-Baptiste Onofré (was: Freeman Fang)
> config:prop* command's '-b' option not as documented
> ----------------------------------------------------
>
> Key: KARAF-2400
> URL: https://issues.apache.org/jira/browse/KARAF-2400
> Project: Karaf
> Issue Type: Bug
> Components: karaf-documentation, karaf-shell
> Affects Versions: 2.3.1, 2.3.3
> Environment: Windows 7 + JDK 1.6
> Reporter: Opher Shachar
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
>
> The [documentation|http://karaf.apache.org/manual/latest-2.3.x/commands/commands.html] describes *{{config:prop\*}}* commands as having a _-b_ option to bypass storage.
> But actually this _-b_ option *only has affect* when combined with _*-p*_ option, otherwise it is the _-b_ option to the {{config:update}} command that determines if changes are persisted to disk.
> As example:{code}
> karaf@root> cat etc/org.ops4j.pax.logging.cfg|grep foo
> karaf@root> config:edit org.ops4j.pax.logging
> karaf@root> config:propappend -b log4j.logger.foo.bar DEBUG
> karaf@root> config:update
> karaf@root> cat etc/org.ops4j.pax.logging.cfg|grep foo
> log4j.logger.foo.bar = DEBUG
> {code}
--
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