Title: `feast serve_offline` displays no info logging · Issue #4639 · feast-dev/feast · GitHub
Open Graph Title: `feast serve_offline` displays no info logging · Issue #4639 · feast-dev/feast
X Title: `feast serve_offline` displays no info logging · Issue #4639 · feast-dev/feast
Description: Expected Behavior The feast serve_offline command (which launches a feast offline server process) should behave similar to the feast serve command, which displays helpful information, including the serving endpoint (host:port). The feast...
Open Graph Description: Expected Behavior The feast serve_offline command (which launches a feast offline server process) should behave similar to the feast serve command, which displays helpful information, including the...
X Description: Expected Behavior The feast serve_offline command (which launches a feast offline server process) should behave similar to the feast serve command, which displays helpful information, including the...
Opengraph URL: https://github.com/feast-dev/feast/issues/4639
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`feast serve_offline` displays no info logging","articleBody":"## Expected Behavior \r\nThe `feast serve_offline` command (which launches a feast offline server process) should behave similar to the `feast serve` command, which displays helpful information, including the serving endpoint (host:port). The `feast serve` command shows info like the following:\r\n```\r\n[2024-10-16 19:14:32 -0600] [17832] [INFO] Starting gunicorn 22.0.0\r\n[2024-10-16 19:14:32 -0600] [17832] [INFO] Listening at: http://127.0.0.1:6566 (17832)\r\n[2024-10-16 19:14:32 -0600] [17832] [INFO] Using worker: uvicorn.workers.UvicornWorker\r\n[2024-10-16 19:14:32 -0600] [17863] [INFO] Booting worker with pid: 17863\r\n[2024-10-16 19:14:32 -0600] [17863] [INFO] Started server process [17863]\r\n[2024-10-16 19:14:32 -0600] [17863] [INFO] Waiting for application startup.\r\n[2024-10-16 19:14:32 -0600] [17863] [INFO] Application startup complete.\r\n```\r\nAnd on shutdown, the `feast serve` command gives:\r\n```\r\n[2024-10-16 19:28:02 -0600] [17832] [INFO] Handling signal: int\r\n[2024-10-16 19:28:02 -0600] [17863] [INFO] Shutting down\r\n[2024-10-16 19:28:02 -0600] [17863] [INFO] Error while closing socket [Errno 9] Bad file descriptor\r\n[2024-10-16 19:28:02 -0600] [17863] [INFO] Waiting for application shutdown.\r\n[2024-10-16 19:28:02 -0600] [17863] [INFO] Application shutdown complete.\r\n[2024-10-16 19:28:02 -0600] [17863] [INFO] Finished server process [17863]\r\n[2024-10-16 19:28:02 -0600] [17832] [ERROR] Worker (pid:17863) was sent SIGINT!\r\n[2024-10-16 19:28:02 -0600] [17832] [INFO] Shutting down: Master\r\n```\r\n\r\nNote: this issue may affect the registry server as well. I have not looked into that, but my expectation would be that all three servers should have logging at startup, during operation, and at shutdown.\r\n\r\n## Current Behavior\r\nThe `feast serve_offline` command just launches the process and displays no output but a blinking cursor. The user is left wondering if the server is ready, and what endpoint it is running on. There is also presumably no information to capture for logging to show for example, when the server started or shutdown.\r\n\r\n## Steps to reproduce\r\n```\r\n# setup temp feature store\r\nfeast init feature_store\r\n\r\ncd feature_store/feature_repo\r\nfeast apply\r\n```\r\n\r\n```\r\n# run the online server to see its behavior\r\n# (after output you can kill with ctl-c)\r\nfeast serve\r\n\r\n# run the offline server\r\n# (observe that there is no output logged)\r\nfeast serve_offline\r\n```\r\n### Specifications\r\n\r\n- Version: 0.40.1\r\n- Platform: MacOS M2, Sequoia 15.0.1\r\n- Subsystem:\r\n\r\n## Possible Solution\r\nAdd logging to `feast serve_offline` following the pattern of `feast serve`.","author":{"url":"https://github.com/dandawg","@type":"Person","name":"dandawg"},"datePublished":"2024-10-17T01:51:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/4639/feast/issues/4639"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c49758ff-eef2-2ca1-4da9-53c6fe1b1ecb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 92B0:2E37C2:29DE209:37DF9E9:6971CE3D |
| html-safe-nonce | 63c8b7676779f5544c22c958492e872d76ed5b87a984857ca989e4b4f2526978 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkIwOjJFMzdDMjoyOURFMjA5OjM3REY5RTk6Njk3MUNFM0QiLCJ2aXNpdG9yX2lkIjoiODI4NjY0MTE1NjE2NjY1MTQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3f50e718ef543cbd113b1a695d2a085c82165b62d38eaf6600ee91ce2f23362d |
| hovercard-subject-tag | issue:2593398452 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/4639/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7460119a26d203afe79f19c8d48ee694786b55366e6d63a7bb2f0c75c01dc730/feast-dev/feast/issues/4639 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7460119a26d203afe79f19c8d48ee694786b55366e6d63a7bb2f0c75c01dc730/feast-dev/feast/issues/4639 |
| og:image:alt | Expected Behavior The feast serve_offline command (which launches a feast offline server process) should behave similar to the feast serve command, which displays helpful information, including the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dandawg |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7476eb4140129667a7530d10cfb7688f701883e35a4dcaa4673e3ec599af5199 |
| turbo-cache-control | no-preview |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2cc0827c872b538cd08371730242ae4951d2d61a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width