Skip to content

Implement APL Logging API#20

Merged
noahc3 merged 2 commits intomainfrom
improve-logging
Nov 18, 2025
Merged

Implement APL Logging API#20
noahc3 merged 2 commits intomainfrom
improve-logging

Conversation

@noahc3
Copy link
Copy Markdown
Owner

@noahc3 noahc3 commented Nov 18, 2025

  • Switch assembly metadata tags in use
  • Implement Logger in APL/Core
  • Refactor all logging through this API (plugins no longer log through Harmony FileLog)
  • Disable Harmony.DEBUG by default (users can enable with HARMONY_DEBUG if they want it)
  • Implement log levels (NONE, INFO, WARNING, ERROR, DEBUG)
  • Logging output targets:
    • Log to stdout by default
    • Log to file if APL_LOGGING= env variable set
    • Implement file log rotations up to 5 logs

Potential improvements for a future PR not addressed here:

  • Would be nice to capture Harmony debug logging if APL_LOGGING=DEBUG and mix into apl.log alongside APL Logger messages.
  • Would be nice to be able to configure file logging in a settings UI in addition to env variables.

Resolves #19

@noahc3 noahc3 added this to the v0.2 milestone Nov 18, 2025
@noahc3 noahc3 self-assigned this Nov 18, 2025
@noahc3 noahc3 added enhancement New feature or request apl labels Nov 18, 2025
@noahc3 noahc3 removed this from the v0.2 milestone Nov 18, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Nov 18, 2025

🚀 Build Artifacts Ready

Commit: d611052
Build Workflow: View Run

📦 Direct Downloads (via nightly.link):

@noahc3 noahc3 merged commit b27bf9f into main Nov 18, 2025
3 checks passed
@noahc3 noahc3 deleted the improve-logging branch November 18, 2025 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

apl enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement: Overhaul logging and implement canonical Logger API

1 participant