From 7e64945b8846d00c1d938084a83af3979b826cf1 Mon Sep 17 00:00:00 2001 From: Wido den Hollander Date: Thu, 19 Sep 2019 07:07:06 +0200 Subject: [PATCH 1/2] kvm: Logrotate should not touch agent.log (#3597) Logrotate should only touch security_group.log and resizevolume.log as the agent.log is already rotated by log4j inside the Agent. Having two systems trying to rotate agent.log leads to all kinds of issues like having binary (compressed) data in the middle of a plain-text log file. In addition we do not have to rotate the logs every day, only when they grow larger than 10M. On fairly idle hypervisors this should not cause those logs to rotate every day. Signed-off-by: Wido den Hollander --- agent/conf/cloudstack-agent.logrotate.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/agent/conf/cloudstack-agent.logrotate.in b/agent/conf/cloudstack-agent.logrotate.in index 6733af52cd8..d9a3dfbc569 100644 --- a/agent/conf/cloudstack-agent.logrotate.in +++ b/agent/conf/cloudstack-agent.logrotate.in @@ -15,12 +15,11 @@ # specific language governing permissions and limitations # under the License. -@AGENTLOG@ -/var/log/cloudstack/agent/security_group.log -{ +/var/log/cloudstack/agent/security_group.log /var/log/cloudstack/agent/resizevolume.log { copytruncate daily rotate 5 compress missingok + size 10M } From cca6608aa53c7df94e56951e8197c2069bc050b3 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Fri, 3 Jan 2020 19:23:55 +0530 Subject: [PATCH 2/2] ui: fix for truncated name for project accounts (#3793) Signed-off-by: Abhishek Kumar --- ui/css/cloudstack3.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/css/cloudstack3.css b/ui/css/cloudstack3.css index 4f186cabf52..b7ca4666565 100644 --- a/ui/css/cloudstack3.css +++ b/ui/css/cloudstack3.css @@ -8188,8 +8188,11 @@ div.container div.panel div#details-tab-addloadBalancer.detail-group div.loadBal display: block; float: left; max-width: 90%; - text-overflow: ellipsis; overflow: hidden; + word-break: break-all; + word-wrap: break-word; + text-indent: 0; + margin-left: 10px; } .multi-edit .data .data-body .data-item table tbody tr td.name {