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

Floki is extremely noisy in logs #481

Closed
atavistock opened this issue Sep 4, 2023 · 0 comments · Fixed by #488
Closed

Floki is extremely noisy in logs #481

atavistock opened this issue Sep 4, 2023 · 0 comments · Fixed by #488
Labels

Comments

@atavistock
Copy link

atavistock commented Sep 4, 2023

Feature goal

Pushing a page which uses tailwind.css into floki generates thousands of info messages like

[info] Unknown token ':'. Ignoring.
[info] Pseudo-class "before" is not implemented. Ignoring.

To be clear, these message can be useful if I'm trying to debug an issue. Getting them once would be okay. But there are literally 1500 of them for every page that uses my tailwind css (and they are largely duplicates of 34 actual unique messages).

  1. It would be nice to simply be able to disable items Floki sends to info that are ignored anyway
  2. A more complex solution would be to accumulate and map them instead of spitting them out real time like [info] Unknown token ':'. Ignoring. (243 times)

Related: danschultzer/premailex#82

Dependencies

Take any complex html page which uses tailwind css and run floki.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant