Skip to content

File access error when rotating logs #199

Description

@sneakers-the-rat

initially: #198 opened by @hsemwal

After streaming awhile, the log becomes large and wants to rotate to another file, and in windows at least this does this:

PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\...\mio\mio\logs\mio.log' -> 'C:\...\mio\mio\logs\mio.log.1'

uncertain if this is inevitable, but in any case we should probably split up the log files by process - we have an updated version of the logger module in noob that we can port over for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions