Skip to content

On app startup - Doesn't log at all when the existing file size limit has already been reached #61

Closed
@ddprince17

Description

@ddprince17

Steps to reproduce:

  • PathFormat must be by {date}
  • Set fileSizeLimitBytes to let say 100000000.
  • Start the app and let it create some logs
  • Stop the app
  • Open the newly created log file and add text until it weights more than 100MB
  • Change the parameter fileSizeLimitBytes to 50000000
  • Start the app and let it log... It won't do anything

Expected behavior:

  • Since the file size limit had already been reached at the second app start, the sink should automatically create a new file names {date}_001.txt
  • The sink should respect all other options as well (like the retainedFileCountLimit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions