Logging System Improvements #876

Open
opened 2026-04-05 16:33:43 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Ocraftyone on 2/5/2026

Description

  • Move all log init into the setup fn
  • Add log file for CLI
  • Add console output for GUI
  • update filename format
  • Move data dir init to its own function in libslic3r (for CLI log file)
  • Add function and line info directly into the logger (and file name in dev builds)
  • Cache log messages created before the log sinks are initialized
  • add latest.log that hardlinks to the actual log file
  • update log formatting

Tests

Tested on windows and WSL via GUI & CLI

*Originally created by @Ocraftyone on 2/5/2026* # Description - Move all log init into the setup fn - Add log file for CLI - Add console output for GUI - update filename format - Move data dir init to its own function in libslic3r (for CLI log file) - Add function and line info directly into the logger (and file name in dev builds) - Cache log messages created before the log sinks are initialized - add latest.log that hardlinks to the actual log file - update log formatting ## Tests Tested on windows and WSL via GUI & CLI
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#876