Nikita Pande created AMBARI-26246:
-------------------------------------

             Summary: Implement Server-Side Logging for Ambari-Server and 
Ambari-Agent (Remove console.log)
                 Key: AMBARI-26246
                 URL: https://issues.apache.org/jira/browse/AMBARI-26246
             Project: Ambari
          Issue Type: Bug
          Components: ambari-admin, ambari-web
            Reporter: Nikita Pande


Currently, Ambari-Admin and Ambari-Web rely on {{console.log}} for logging, 
which has several drawbacks:
 * *Client-Side Logging:* {{console.log}} statements are executed on the client 
(user's browser) and are not persisted on the server. This means valuable 
information about errors and application behavior is lost.
 * *Unsuitable for Production:* {{console.log}} statements should not be used 
in production environments because:
 ** Security Concerns: Sensitive information accidentally logged through 
{{console.log}} could be exposed to unauthorized users.
 ** Difficulty in Debugging: Logs are not centralized and can be challenging to 
analyze for debugging purposes.

*Proposed Solution:*

This ticket proposes implementing a custom logging solution for Ambari-Admin 
and Ambari-Web. The new logging system should:
 * *Server-Side Logging:* Logs should be generated on the server-side and 
persisted in a centralized location for easier access and analysis.
 * *Log Levels:* Support different log levels (e.g., debug, info, warn, error) 
to categorize the severity of logged messages.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to