Should allow to configure location of /generate
error logs
#487
Labels
enhancement
New feature or request
/generate
error logs
#487
Problem
#431 added generation of error log files for
/generate
. It writes to./jupyter-ai-logs/
which one hand is nice because it is likely user accessible, but it is:For example, start:
Run
/generate
, seeC:\jupyter-ai-logs
was created, even though the main users "workspace" is inC:\my\project\docs
This means user will either:
jupyter-ai-logs
and need to navigate a few levels upC:\
is not writable in itself (but only specific directories are allowed)Proposed Solution
Add a traitlet making the path configurable.
Additional context
Probably a simple path trait would be sufficient, but FYI, jupyter-server and other apps have
Application.logging_config
which allows users to configure how logs are handled (see https://jupyter-server.readthedocs.io/en/latest/other/full-config.html).The text was updated successfully, but these errors were encountered: