Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • N Nabu
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 65
    • Issues 65
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • tomotools
  • Nabu
  • Issues
  • #156

Closed
Open
Created Aug 05, 2020 by Pierre Paleo@paleoOwner

Logger: overwrite existing log file

It might be better to start with a fresh log file each time a new reconstruction is performed by nabu nabu.conf.

However python logging.dictConfig does not allow directly to set file mode. Of course the simple workaround is to erase and re-create the file.

For now specifying another log file (--logfile nabu2.log) should be enough.

Edited Aug 05, 2020 by Pierre Paleo
Assignee
Assign to
Time tracking