[ 
https://issues.apache.org/jira/browse/GEODE-8806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17263032#comment-17263032
 ] 

ASF subversion and git services commented on GEODE-8806:
--------------------------------------------------------

Commit 29afcad1466e787a65bbcdf0391b7294cb43ac1e in geode-native's branch 
refs/heads/develop from Blake Bender
[ https://gitbox.apache.org/repos/asf?p=geode-native.git;h=29afcad ]

GEODE-8806: Refactor Logger code (#718)

Replace all ACE usage by boost or std equivalents
Fix log rolling code to properly honor file and disk space limits
Move existing logging test from integration to unit tests, and add new tests
Clean up global logger variables, and stop allocating/deallocating
Remove a bunch or redundant code

Co-authored-by: Blake Bender <bbl...@vmware.com>
Co-authored-by: Matthew Reddington <mredding...@vmware.com>

> Native client does not honor log-file-size-limit properly
> ---------------------------------------------------------
>
>                 Key: GEODE-8806
>                 URL: https://issues.apache.org/jira/browse/GEODE-8806
>             Project: Geode
>          Issue Type: Bug
>          Components: native client
>            Reporter: Blake Bender
>            Priority: Major
>              Labels: pull-request-available
>
> As a user, I need to be able to limit the size of my log files and the amount 
> of disk space used by geode-native.  Unfortunately, the 10.x native client 
> doesn't appear to "roll" log files correctly.  
>  
> repro steps:
> i. In a client application, set `log-file-size-limit` to 1 (for 1MB), 
> `log-level` to `debug`, and `log-file` to something convenient like 
> `native_app.log`
> ii. Run a long operation in the client that will generate a huge amount of 
> logging, like 100,000 puts to a region
>  
> expected behavior:
>  * when native_app.log grows to > 1MB in size, it is followed by 
> native_app-1.log, native_app-2.log, etc, each of which is ~1MB in size
> actual behavior:
>  * native_app.log grows to > 1MB, then geode-native stops logging



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to