Skip to content

Store debug logs to disk #3

Open

Description

@jan-auer

I would prefer to run craft without debug logs on the console. Especially when publishing to crates.io, the output is enormously large. When errors occur, it would still be great to have debug logs around - sometimes with even more information than what debug currently logs.

Would it be an option to create a file like craft-debug.log in the cwd and delete it upon successful completion. This way, we can easily attach debug logs to bug reports.

Besides, it might be nice to have @sentry/node in craft and log everything that goes into the error stream, maybe even attach previous logs as breadcrumbs (automatically done with the "console" integration).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions