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
UI - add console logging function #3037
Comments
Comment from mhonek (@kenoh) at 2018-10-16 10:54:37 Good idea. Additionally, however, I believe the logging itself should be turned off by default in production, and only turned on when the user explicitly asks for it, maybe some hidden checkbox. And, the call itself should be guarded for existence as the |
Comment from mhonek (@kenoh) at 2018-10-16 10:54:38 Metadata Update from @kenoh:
|
Comment from firstyear (@Firstyear) at 2018-10-17 01:01:42 @kenoh Flip side is that console logging is cheap on the client, and will make error report submissions simpler. I think logging by default is fine for this application, However, console.log not being universal ... is that true? I would hope we could find a way to standardise or detect what logging we need inside the log_cmd. |
Comment from mreynolds (@mreynolds389) at 2018-10-18 00:02:25 |
Comment from mreynolds (@mreynolds389) at 2018-10-18 00:02:27 Metadata Update from @mreynolds389:
|
Comment from mreynolds (@mreynolds389) at 2018-10-23 16:29:05 Metadata Update from @mreynolds389:
|
Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/49978
Issue Description
We are logging, console.log(), all the CLI commands in the UI. To make sure the formatting is consistent we should create a simple logging function:
Console output:
The text was updated successfully, but these errors were encountered: