You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/01/10 18:56:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17262256#comment-17262256 ] 

ASF GitHub Bot commented on GEODE-8806:
---------------------------------------

pdxcodemonkey opened a new pull request #718:
URL: https://github.com/apache/geode-native/pull/718


   Log rolling wasn't working in all (any?) cases, due to poorly-written manual path manipulation code etc.
   
   - Convert all ACE code and manual path/file logic to boost::filesystem
   - Move logging integration test to unit tests, because it really is/was a unit test
   - Add more unit tests for initialization and various log-rolling scenarios
   
   @mreddington @dihardman @karensmolermiller @davebarnes97 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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