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

Server log rotation issues #189

Closed
GUI opened this issue Feb 22, 2015 · 1 comment
Closed

Server log rotation issues #189

GUI opened this issue Feb 22, 2015 · 1 comment

Comments

@GUI
Copy link
Member

GUI commented Feb 22, 2015

After we rolled out the recent API Umbrella v0.7 updates to our servers a couple weeks ago (#180), it looks like the nightly log rotation on the servers has not been completing successfully. It looks like it's making an attempt to rotate the log files, but the resulting files are all 0 bytes.

Not much changed related to log rotation during the API Umbrella v0.7 upgrade, so this is a bit puzzling why it just cropped up. However, I have identified a few different issues that are likely contributing and fixed those in: NREL/api-umbrella-router@3dfa8b2 Locally, these fixes seem to resolve things. They are deployed now, but we'll have to wait until tonight's log rotation time to verify that it does in fact work.

@GUI
Copy link
Member Author

GUI commented Mar 6, 2015

As a belated update, this was actually addressed by this tweak to the log rotation configuration: NREL/omnibus-api-umbrella@e30433d (Basically, the wildcard paths caused the logs to be rotated twice which led to all sort of oddities).

Since fixing that, all the log rotation has been happening as expected, with the exception of the dnsmasq logs. That process isn't re-opening logs, so it's still logging to the old log file locations. That should be simple to fix, I'd just like to wrap that up one last issue before marking this issue closed.

@GUI GUI closed this as completed Mar 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant