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

Close

Small improvement to FileAppender

2010-02-01
2013-04-26
  • Pekko Tiitto
    Pekko Tiitto
    2010-02-01

    Hi,

    I was testing FileAppender a bit and noticed that the output stream isn't opened to the end of the file. It would be nice if FileAppender.openOutputStream() could be modified to call:

    outputStream = fileConnection.openOutputStream(fileConnection.fileSize());

    instead. This way I could keep on monitoring the same log file, and from the same position, even if I restart the MIDlet.

    Thanks

     
  • Johan Karlsson
    Johan Karlsson
    2010-02-02

    Hi,

    this can definitely be changed. I will create an issue for and fix it for the next release.

    Best Regards
    Johan

     
  • Johan Karlsson
    Johan Karlsson
    2010-02-04

    Hi,

    this is now fixed in the trunk. This will be part of the next release.

    Regards
    Johan