# Discourse Chat Bridge (Telegram)

**URL:** https://meta.discourse.org/t/discourse-chat-bridge-telegram/284691
**Category:** Plugin
**Created:** [November 7, 2023, 11:04am UTC](https://meta.discourse.org/t/discourse-chat-bridge-telegram/284691 "2023-11-07T11:04:15Z")
**Posts on this page:** 1
**Showing post:** 30

<div class="post-metadata">

### Author: ![dr460nf1r3](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dr460nf1r3/32/484691_2.png) [@dr460nf1r3](https://meta.discourse.org/u/dr460nf1r3)
#### Post date: [January 25, 2025, 8:22pm UTC](https://meta.discourse.org/t/discourse-chat-bridge-telegram/284691/30 "2025-01-25T20:22:49Z")

</div>

Is there a way to obtain logs of the plugin? @Lhc_fl  
I’m trying to figure out why it only works one way (Discourse → Telegram). Bot of course has permission to access group messages. There are no apparent logs in the console 🤔

Edit: was trying to troubleshoot this, and seemingly it is basically impossible to get proper logs in production.

> [@Alter log level in Production?](https://meta.discourse.org/t/alter-log-level-in-production/238375/5):
>
> If I understand things correctly it’s suppressing info and debug in production mode by design. [Blaming logster/lib/logster/rails/railtie.rb at main · discourse/logster · GitHub](https://github.com/discourse/logster/blame/main/lib/logster/rails/railtie.rb#L16) store.level = Logger::Severity::WARN if Rails.env.production? From [a blog post](https://samsaffron.com/archive/2018/12/27/logster-and-our-logging-strategy-at-discourse) In production mode it aggregates similar errors by fingerprinting backtraces listening for warnings/errors and fatal messages. The intention is to display a list of open application problems that can somehow be resolved. In development mo…

Not even errors or warnings related to the plugin are logged in production.log / production\_error.log.

I’m suspecting some webhook related issue, and from the looks the plugin doesn’t get deactivated on errors?

> <https://github.com/Lhcfl/discourse-chat-bridge/blob/main/lib/chat_bridge_module/provider/telegram/services/setup_webhook.rb#L25>

As it works one way the credentials provided are definitely correct. If someone has an idea how to obtain the logs written by the plugin, please let me know.

---

_[View the full topic](https://meta.discourse.org/t/discourse-chat-bridge-telegram/284691)._
