Skip to content

Conversation

@CodeShellDev
Copy link
Owner

@CodeShellDev CodeShellDev commented Jan 3, 2026

Summary

This PR adds per-token loggers.

Changes

  • switched to using sub-*logger's pointers in middlewares
  • moved logging after auth middleware, but before auth req layer
  • added auth req middleware, to only enforce auth after that middleware
  • added .name to configs
  • extract filename for .name (if .name is unset)
  • added internal middlewares, that are hidden (ex: auth req middleware)
  • added isAuthKey for preservation of auth success until auth req

Checklist

  • PR tested
  • Docs updated (if applicable)

Related

@CodeShellDev CodeShellDev linked an issue Jan 3, 2026 that may be closed by this pull request
@CodeShellDev CodeShellDev merged commit 8434b8b into main Jan 3, 2026
@CodeShellDev CodeShellDev deleted the feat/loglevel-per-token branch January 3, 2026 17:49
@CodeShellDev CodeShellDev mentioned this pull request Jan 8, 2026
2 tasks
@CodeShellDev CodeShellDev mentioned this pull request Jan 31, 2026
2 tasks
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.

logLevel per Token Config

1 participant