iris-web icon indicating copy to clipboard operation
iris-web copied to clipboard

Module Logging

Open migr19 opened this issue 1 year ago • 4 comments

When i log in the Module with "self.log.info", i can't find it anywhere in the docker logs. Where do i find them? Would be nice for debugging;-) Thanks for help!

migr19 avatar Jul 24 '24 20:07 migr19

Anyone please able to answer?

migr19 avatar Jul 30 '24 19:07 migr19

Hi!

Apologize for the delay. The logs should appear in the worker container. You can do a docker compose logs worker -f. They should appear there.

Let me know if it works.

whikernel avatar Aug 29 '24 14:08 whikernel

Hi! nope only see that Module has initiated, but logging inside Module with "self.log", i don't get any log entries.

iriswebapp_worker | [2024-09-02 15:00:01,477: INFO/ForkPoolWorker-3] Calling module MergeAlertModule for hook on_postload_alert_create iriswebapp_worker | [2024-09-02 15:00:01,537: INFO/ForkPoolWorker-3] Retrieved server configuration iriswebapp_worker | [2024-09-02 15:00:01,544: INFO/ForkPoolWorker-3] Module has initiated

migr19 avatar Sep 02 '24 15:09 migr19

I'm also running into this, would love to be able to view my debug logs :)

bvirgilioamnh avatar Sep 10 '24 20:09 bvirgilioamnh