sfirke commented on code in PR #32891:
URL: https://github.com/apache/superset/pull/32891#discussion_r2023369614


##########
docs/docs/configuration/event-logging.mdx:
##########
@@ -51,11 +51,24 @@ if desired. Most endpoints hit are logged as
 well as key events like query start and end in SQL Lab.
 
 To setup StatsD logging, it’s a matter of configuring the logger in your 
`superset_config.py`.
+If not already present, you need to ensure that the `statsd`-package is 
installed in superset's python environment.
 
 ```python
 from superset.stats_logger import StatsdStatsLogger
 STATS_LOGGER = StatsdStatsLogger(host='localhost', port=8125, 
prefix='superset')
 ```
 
+If you get the Error `ImportError: cannot import name 'StatsdStatsLogger' from 
'superset.stats_logger' (/path/to/superset/env/superset/stats_logger.py)`, you 
can edit the `except Exception` block to print error details:

Review Comment:
   What file is being edited here? It's unclear to me, sorry.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to