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

Long logs are trimmed #3219

Open
ealmloff opened this issue Nov 15, 2024 · 1 comment
Open

Long logs are trimmed #3219

ealmloff opened this issue Nov 15, 2024 · 1 comment
Labels
bug Something isn't working cli Related to the dioxus-cli program

Comments

@ealmloff
Copy link
Member

ealmloff commented Nov 15, 2024

Problem

Lines longer than ~2500 characters are trimmed by the CLI.

Steps To Reproduce

Steps to reproduce the behavior:

  • Create a hello world dioxus application with the git version of dioxus
  • Enable tracing with RUST_LOG=trace
  • Run the application with the CLI

Expected behavior

The entire text of logs should be printed

Screenshots

Screenshot 2024-11-15 at 8 32 59 AM

Environment:

  • Dioxus version: main
  • Rust version: nightly
  • OS info: Macos
  • App platform: CLI

Questionnaire

@ealmloff ealmloff added bug Something isn't working cli Related to the dioxus-cli program labels Nov 15, 2024
@jkelleyrtp
Copy link
Member

Ahh probably because we only allocate 3000 chars for the line width

https://github.com/DioxusLabs/dioxus/blob/main/packages/cli/src/serve/output.rs#L937

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli Related to the dioxus-cli program
Projects
None yet
Development

No branches or pull requests

2 participants