Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llm logs on/off/status commands #98

Closed
simonw opened this issue Jul 12, 2023 · 2 comments
Closed

llm logs on/off/status commands #98

simonw opened this issue Jul 12, 2023 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@simonw
Copy link
Owner

simonw commented Jul 12, 2023

llm logs off turns off default logging, llm logs on turns it on.

I feel like there should be a way to tell the current status of logging too. Maybe:

llm logs status

Which could show not just the on/off state but also the size of the DB and number of records in it.

Originally posted by @simonw in #68 (comment)

@simonw simonw added the enhancement New feature or request label Jul 12, 2023
@simonw simonw added this to the 0.5 milestone Jul 12, 2023
@simonw
Copy link
Owner Author

simonw commented Jul 12, 2023

I'm going to use the existence of the file user_dir() / "logs-off" to record if logging is currently enabled or disabled.

simonw added a commit that referenced this issue Jul 12, 2023
@simonw
Copy link
Owner Author

simonw commented Jul 12, 2023

Just needs documentation updates now.

@simonw simonw closed this as completed in 05b4bcf Jul 12, 2023
simonw added a commit that referenced this issue Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant