-
Notifications
You must be signed in to change notification settings - Fork 7
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
Export rotated logs for vx-logs.log #4152
Comments
The logs we will be rotating are:
The current log rotation will rotate daily for 365 days. Rotated logs will be gzipped and include a date in the filename, e.g. In the vxsuite export from the UI, we will need to start exporting In the vx-admin export from tty2, we already support this new format since it exports via the wildcard. We only export three log types though:
It is unclear to me whether we need to export the full set of standard rsyslog logs (probably don't need mail, for example), but the above list is the complete set available. |
@benadida , logfile name formats that should be exported:
|
@benadida, the location of log files has changed due to permission requirements related to log rotation. All logs are now found in:
The naming conventions remain the same, so using
|
Thinking about how we might do this. Currently, we have a "export logs" and "export CDF logs" as options, and those are optimized for the current log. In particular, if we wanted to export CDF for all the past logs, we'd have to decompress them, convert, and recompress. I'm thinking that a good first pass at this is just to straight up copy all the files in @mattroe what do you think? |
@benadida , keep in mind log rotation happens on startup now. The |
@benadida I think the "Export All Logs" simple copy strategy makes sense. However, given the rotation implementation @amcmanus is referring to, I think the "current" export use case is actually quite limited and we may be able to reduce the options we present on this screen to just exporting all. We'll still need to make sure we follow up on the complete CDF logs export when we get to wrapping up VVSG logging work. |
after live discussion, we're moving to two buttons (same as now) with:
|
@benadida should this be closed? |
@amcmanus can you edit this to specify the details of the names of the files we will need to make sure to export to include all of the compressed versions of the vx-logs file?
The text was updated successfully, but these errors were encountered: