Skip to content
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

Module Logging #548

Open
migr19 opened this issue Jul 24, 2024 · 4 comments
Open

Module Logging #548

migr19 opened this issue Jul 24, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@migr19
Copy link

migr19 commented Jul 24, 2024

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 migr19 added the bug Something isn't working label Jul 24, 2024
@migr19
Copy link
Author

migr19 commented Jul 30, 2024

Anyone please able to answer?

@whikernel
Copy link
Contributor

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.

@migr19
Copy link
Author

migr19 commented Sep 2, 2024

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

@bvirgilioamnh
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants