You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Blake Bender (Jira)" <ji...@apache.org> on 2021/02/01 17:59:01 UTC

[jira] [Resolved] (GEODE-8806) Native client does not honor log-file-size-limit properly

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

Blake Bender resolved GEODE-8806.
---------------------------------
    Resolution: Fixed

> 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)