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

Console verbose copy button unclean logs #1662

Open
1 task done
fharper opened this issue Jun 28, 2023 · 0 comments
Open
1 task done

Console verbose copy button unclean logs #1662

fharper opened this issue Jun 28, 2023 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@fharper
Copy link
Contributor

fharper commented Jun 28, 2023

Which version of kubefirst are you using?

976ae0b

Which cloud provider?

None specific

Which installation type?

UI (Console app)

Which distributed Git provider?

None specific

What is the issue?

The verbose logs displayed in the UI are clean, but when you use the copy button, there's are some added characters, and line break which make it harder to read.

Here's what the UI is showing

CleanShot 2023-06-28 at 15 55 12@2x

Compared to the same output from the copy button:

2023-06-28 15:07:40 INFO OUT:       �[32m+�[0m �[0m�[1;37m�[0mmount_accessor�[0m�[0m = \ 

2023-06-28 15:07:40 INFO OUT:       �[32m+�[0m �[0m�[1;37m�[0mname�[0m�[0m           = \ 

2023-06-28 15:07:40 INFO OUT:     } 

2023-06-28 15:07:40 INFO OUT:  

2023-06-28 15:07:40 INFO OUT: �[0m�[1;37mPlan:�[0m 7 to add, 0 to change, 0 to destroy. 

2023-06-28 15:07:43 INFO OUT: �[0m�[0m�[1;37mmodule.admins.module.kbot.random_password.password: Creating...�[0m�[0m 

2023-06-28 15:07:43 INFO OUT: �[0m�[1;37mmodule.admins.module.kbot.random_password.password: Creation complete after 1s [id=none]�[0m 

2023-06-28 15:07:43 INFO OUT: �[0m�[1;37mmodule.admins.module.kbot.github_team_membership.team_membership: Creating...�[0m�[0m 

2023-06-28 15:07:43 INFO OUT: �[0m�[1;37mmodule.admins.module.kbot.vault_generic_secret.user: Creating...�[0m�[0m 

2023-06-28 15:07:43 INFO OUT: �[0m�[1;37mmodule.admins.module.kbot.vault_generic_endpoint.user: Creating...�[0m�[0m 

2023-06-28 15:07:43 INFO OUT: �[0m�[1;37mmodule.admins.module.kbot.vault_identity_entity.user: Creating...�[0m�[0m 

2023-06-28 15:07:44 INFO OUT: �[0m�[1;37mmodule.admins.module.kbot.vault_generic_secret.user: Creation complete after 0s [id=users/kbot]�[0m 

2023-06-28 15:07:44 INFO OUT: �[0m�[1;37mmodule.admins.module.kbot.vault_identity_entity.user: Creation complete after 0s [id=bef0eaa8-7121-2b7f-9529-2ed1e203b399]�[0m 

2023-06-28 15:07:44 INFO OUT: �[0m�[1;37mmodule.admins.module.kbot.vault_identity_entity_alias.user: Creating...�[0m�[0m 

2023-06-28 15:07:44 INFO OUT: �[0m�[1;37mvault_identity_group_member_entity_ids.admins_membership: Creating...�[0m�[0m 

2023-06-28 15:07:44 INFO OUT: �[0m�[1;37mmodule.admins.module.kbot.vault_generic_endpoint.user: Creation complete after 0s [id=auth/userpass/users/kbot]�[0m 

2023-06-28 15:07:44 INFO OUT: �[0m�[1;37mvault_identity_group_member_entity_ids.admins_membership: Creation complete after 0s [id=85300b3f-07cb-91cc-3649-82ce739299a2]�[0m 

2023-06-28 15:07:44 INFO OUT: �[0m�[1;37mmodule.admins.module.kbot.vault_identity_entity_alias.user: Creation complete after 0s [id=f3a9aade-ffa7-e24d-247b-a65a115a4758]�[0m 

See all the unicode characters + text added like �[0m�[0m�[1;37, in addition to additional line break between each log output. Since the user cannot copy text directly from the verbose window, cleaning the copy logs would be beneficial.

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants