Skip to content

Conversation

@kirill-567
Copy link

@kirill-567 kirill-567 commented Nov 4, 2025

Description

Improvements

Task

Link


Note

Introduces cross-platform file logging that tees printf output to a log file when running with --openframe-mode, and updates CI to build this feature branch.

  • Core / Logging:
    • Add meshcore/openframe_file_logger.h implementing cross-platform file logging that duplicates printf to console and file, with daemon/service detection and thread-safety.
    • Wire logging into meshcore/agentcore.c:
      • Include openframe_file_logger.h.
      • On --openframe-mode, set fixed log directory (C:\\ProgramData\\OpenFrame\\meshcentral-agent on Windows, /var/log/openframe/meshcentral-agent on POSIX) and call enable_file_logging(logDir, "meshagent").
  • CI:
    • Update .github/workflows/build.yml to trigger on feature/improve-logging in addition to master.
  • Meta:
    • Bump commit metadata in microscript/ILibDuktape_Commit.h.

Written by Cursor Bugbot for commit 3c4a834. This will update automatically on new commits. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants