summaryrefslogtreecommitdiff
path: root/xenserver/etc_logrotate.d_openvswitch
Commit message (Collapse)AuthorAgeFilesLines
* rhel, xenserver: Make logrotate daily and compress old logs.Gurucharan Shetty2013-02-141-0/+2
| | | | | | | | | | | | The default values can be different and usually comes from /etc/logrotate.conf. For xenserver6.0.2, the values in /etc/logrotate.conf is daily and compress. So this patch does not make any difference. But it does future proof against any changes in xenserver in the future. For rhel6.1, the values are weekly and un-compress. Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
* Properly reopen python daemon log files after rotation.Ben Pfaff2012-05-221-7/+4
| | | | | | | The OVS Python daemons weren't reopening their log files after rotation, so all the log information after the second rotation was lost. Signed-off-by: Ben Pfaff <blp@nicira.com>
* Global replace of Nicira Networks.Raju Subramanian2012-05-021-1/+1
| | | | | | | | Replaced all instances of Nicira Networks(, Inc) to Nicira, Inc. Feature #10593 Signed-off-by: Raju Subramanian <rsubramanian@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* xenserver: Remove support for XenServer versions older than 5.6 FP1.Justin Pettit2011-02-111-4/+1
| | | | | | | | Commit 404c169247b1c3ac2ebad887f0421478a6cef924 breaks compatibility with XenServers older than 5.6 FP1. This commit removes the last vestiges of support for those older XenServer versions. Signed-off-by: Justin Pettit <jpettit@nicira.com>
* xenserver: Only rotate files that end in .logJustin Pettit2010-04-051-1/+1
|
* xenserver: gate all logrotate reopens on presence of a pid fileIan Campbell2010-03-301-2/+6
| | | | | | | | This probably only makes a difference in the case where you have vswitch installed but (deliberately) not running _and_ you happen to have ovs-* logs big enough to be worth rotating. Very much an edge case. Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
* xenserver: Don't reload ovs-brcompatd's log file if it's not runningJustin Pettit2010-03-291-1/+3
|
* logrotate: Allow logs to be missingIan Campbell2010-03-261-0/+1
| | | | | | In particular ovs-brcompatd.log is not present if compatibility mode is disabled. Without this logrotate attempts to send email to the administrator.
* Cleanup default file locations and XenServer packagingJustin Pettit2010-03-261-0/+16
This commit cleans up the locations of a number of files and directories used. These include: - Config file lives in /etc/openvswitch/conf.db - Logs go into /var/log/openvswitch - ovsdb-server socket is /var/run/openvswitch/db.sock - Schema goes into /usr/share/openvswitch/vswitch.ovsschema - PID files go in /var/run/openvswitch For XenServer, these additional changes are made: - Cores go in /var/xen/openvswitch - OVS binaries run in /var/xen/openvswitch In addition, it attempts to cleanup the XenServer packaging. This includes referring to the project as "openvswitch" as opposed to the somewhat presumptuous "vswitch". Note: Changes to the Debian packaging will be forthcoming.