Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

FileAppender Improvements

2008-12-03
2013-04-26
  • Johan Karlsson
    Johan Karlsson
    2008-12-03

    Hi,

    I have been working to improve the FileAppender. For example, it is now possible to get the usedSize() from the underlying FileConnection object.

    Do you have any other comments/ideas regarding the FileAppender.

    Best Regards
    Johan

     
    • Yes...

      At the moment there's no access modifier on the setFileConnection(...) method, therefore it's package private (was this an accident?). This would not be a problem except it's not possible to specify the storage root. Microlog seems to pick the first root returned by FileSystemRegistry.listRoots(), but this is not always the root that's accessible (at least on Nokia S60), resulting in a SecurityException when adding the FileAppender.

      Otherwise, Microlog has been very useful in our projects. Look forward to 2.0...