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

feat: persistent logs #74

Open
francis2tm opened this issue Feb 20, 2024 · 3 comments
Open

feat: persistent logs #74

francis2tm opened this issue Feb 20, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@francis2tm
Copy link
Contributor

francis2tm commented Feb 20, 2024

In order to give users runtime logs, before we figure out how to do that via GUI, let's allow users to easily see logs via a file in DATA_DIR or CACHE_DIR.
This issue also solves #38

@francis2tm francis2tm changed the title fea´ chore: make RUST_LOG=INFO the default Feb 20, 2024
@prabirshrestha
Copy link

Would be good to have "View Logs" menu if possible similar to ollama which apparently is only available in Windows builds.

image

All it does is open a folder in Explorer. C:\Users\username\AppData\Local\Ollama and you can open the log files in a text editor.

image

@francis2tm
Copy link
Contributor Author

@prabirshrestha thanks for the feedback!
This is definitely possible. @toschoo What do you think?

@francis2tm francis2tm changed the title chore: make RUST_LOG=INFO the default chore: persistant logs Feb 26, 2024
@francis2tm francis2tm changed the title chore: persistant logs feat: persistant logs Feb 26, 2024
@francis2tm francis2tm added the enhancement New feature or request label Feb 26, 2024
@francis2tm francis2tm changed the title feat: persistant logs feat: persistent logs Feb 26, 2024
@opeolluwa
Copy link
Contributor

opeolluwa commented Mar 8, 2024

In order to give users runtime logs, before we figure out how to do that via GUI, let's allow users to easily see logs via a file in DATA_DIR or CACHE_DIR. This issue also solves #38

How about a SQLite DB Embedding instead of a file, I think you can structure the logs properly and it'll be easier to write the log

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

4 participants