karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (KARAF-2400) config:prop* command's '-b' option not as documented
Date Mon, 22 Jul 2013 03:24:48 GMT

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

Freeman Fang reassigned KARAF-2400:
-----------------------------------

    Assignee: 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: Freeman Fang
>            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

Mime
View raw message