> On April 10, 2017, 7:48 p.m., Jared Stewart wrote:
> > geode-core/src/main/java/org/apache/geode/management/internal/cli/i18n/CliStrings.java
> > Line 2374 (original), 2377 (patched)
> > <https://reviews.apache.org/r/58319/diff/2/?file=1687533#file1687533line2377>
> >
> >     One small oddity of this help text is that would seem to imply that 
> > `start locator --log-level=ALL` is a valid commmand.  I think `export logs` 
> > is a special case in accepting `ALL` as a log level.
> 
> Kirk Lund wrote:
>     Actually, ALL and NONE are both valid values for --log-level on the start 
> commands and the alter runtime command. In fact, we would have to do 
> something additional in code to prevent it from working. Note: ALL and NONE 
> were also valid for the old GemFire LogWriter log-level. My change didn't 
> introduce this -- it just made us more aware of it.
>     
>     If you think we shouldn't allow ALL and NONE, then that should be a new 
> separate ticket because changing it would involve more than the gfsh help 
> strings.

Hmm, actually, it looks like old-GF logging used "all" and "none" but the log4j 
levels should be ALL and OFF. I need to change all instances of NONE to OFF.


- Kirk


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/58319/#review171465
-----------------------------------------------------------


On April 10, 2017, 7:15 p.m., Kirk Lund wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/58319/
> -----------------------------------------------------------
> 
> (Updated April 10, 2017, 7:15 p.m.)
> 
> 
> Review request for geode, Jinmei Liao, Jared Stewart, Ken Howe, and Patrick 
> Rhomberg.
> 
> 
> Bugs: GEODE-2267
>     https://issues.apache.org/jira/browse/GEODE-2267
> 
> 
> Repository: geode
> 
> 
> Description
> -------
> 
> GEODE-2765: change gfsh help to consistently use log4j levels
> 
> 
> Diffs
> -----
> 
>   
> geode-core/src/main/java/org/apache/geode/management/internal/cli/i18n/CliStrings.java
>  67955dc61e87b8d485eaf191ce06eecdfb65cf39 
>   
> geode-core/src/test/resources/org/apache/geode/management/internal/cli/commands/golden-help-offline.properties
>  af6b4bfac982cc5dd69f3d5254c6512264361e2b 
> 
> 
> Diff: https://reviews.apache.org/r/58319/diff/2/
> 
> 
> Testing
> -------
> 
> * HelpCommandsIntegrationTest updated and passes
> * precheckin in progress
> 
> 
> Thanks,
> 
> Kirk Lund
> 
>

Reply via email to