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

Better logging saying what exactly is wrong with "Agent subscription configuration". #92

Open
ankitpaudel20 opened this issue Nov 14, 2024 · 0 comments

Comments

@ankitpaudel20
Copy link

Is your feature request related to a problem? Please describe.
No clear logging saying what exactly is wrong while running the program.

Describe the solution you'd like
Some good message on what is wrong. if not, internal program exception stack trace is also okay.

Describe alternatives you've considered
None

Additional context
This is the log from the container running the program:

app-1  | 2024-11-14 08:24:11,494 INFO Set uid to user 0 succeeded
app-1  | 2024-11-14 08:24:11,497 INFO RPC interface 'supervisor' initialized
app-1  | 2024-11-14 08:24:11,497 CRIT Server 'unix_http_server' running without any HTTP authentication checking
app-1  | 2024-11-14 08:24:11,497 INFO supervisord started with pid 1
app-1  | 2024-11-14 08:24:12,499 INFO spawned: 'bootstrap' with pid 9
app-1  | 
app-1  | 8 8888         8 8888888888   8 8888888888   8 8888     ,88'
app-1  | 8 8888         8 8888         8 8888         8 8888    ,88' 
app-1  | 8 8888         8 8888         8 8888         8 8888   ,88'  
app-1  | 8 8888         8 8888         8 8888         8 8888  ,88'   
app-1  | 8 8888         8 888888888888 8 888888888888 8 8888 ,88'    
app-1  | 8 8888         8 8888         8 8888         8 8888 88'     
app-1  | 8 8888         8 8888         8 8888         8 888888<      
app-1  | 8 8888         8 8888         8 8888         8 8888 `Y8.    
app-1  | 8 8888         8 8888         8 8888         8 8888   `Y8.  
app-1  | 8 888888888888 8 888888888888 8 888888888888 8 8888     `Y8.                        
app-1  | 
app-1  | 2024-11-14 08:24:12,597 INFO success: bootstrap entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
app-1  | 
app-1  | |#|     Leek Celery Monitoring Tool                               |#|
app-1  | |#|     Versions: 0.7.0                                  |#|
app-1  | |#|     Release date: 2024/01/02 12:00:32                         |#|
app-1  | |#|     Codename: Fennec                                          |#|
app-1  | |#|     Repository: https://github.com/kodless/leek               |#|
app-1  | |#|     Homepage: https://tryleek.com                             |#|
app-1  | |#|     Documentation: https://tryleek.com/docs/introduction/leek |#|
app-1  | 
app-1  | Author: Hamza Adami <[email protected]>
app-1  | Follow me on Github: https://github.com/kodless 
app-1  | Buy me a coffee: https://buymeacoffee.com/fennec
app-1  | 
app-1  | 
app-1  | SERVICE     STATUS      URL
app-1  | =======     ------      ---
app-1  | - API       ENABLED    http://0.0.0.0:5000
app-1  | - WEB       ENABLED    http://0.0.0.0:8000
app-1  | - AGENT     ENABLED    -
app-1  | 
app-1  | ERROR:utils:Agent subscription configuration is invalid
app-1  | 2024-11-14 08:24:12,598 WARN received SIGTERM indicating exit request
app-1  | 2024-11-14 08:24:12,598 INFO waiting for bootstrap to die
app-1  | 2024-11-14 08:24:12,610 INFO exited: bootstrap (exit status 1; not expected)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant