Skip to content

Separate logs for sync server#368

Merged
adnanhashmi09 merged 3 commits into
mainfrom
separate-logs-for-sync-server
May 20, 2024
Merged

Separate logs for sync server#368
adnanhashmi09 merged 3 commits into
mainfrom
separate-logs-for-sync-server

Conversation

@adnanhashmi09
Copy link
Copy Markdown
Contributor

Before this change logs of both apiserver and sync_server were being aggregated in the same file /var/logs/apiserver/apiserver.log. This change separates logs of both servers. A new log file called /var/log/sync_server/sync_server.log tracks the logs of sync_server

Copy link
Copy Markdown
Contributor

@amoghjalan amoghjalan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update gunicorn as well

Comment thread cli/source/constants.ts
Comment on lines 57 to +58
[LogSource.ApiServer]: `Listening at: http://0.0.0.0`,
[LogSource.SyncServer]: `Listening at: http://0.0.0.0`,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think loopback address can be used here

@adnanhashmi09 adnanhashmi09 merged commit 347196f into main May 20, 2024
@adnanhashmi09 adnanhashmi09 deleted the separate-logs-for-sync-server branch May 20, 2024 11:14
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

Successfully merging this pull request may close these issues.

2 participants