But there is nothing about rotate-kvm-log in /etc/logadm.conf from stock. It is weird. How were these entries had been added in time stamp? It should be logadm command invoking. But where was it invoked? I haven't done it manually.
Fred Get Outlook for iOS<https://aka.ms/o0ukef> On Tue, Apr 11, 2017 at 3:52 AM +0800, "Josh Wilsdon" <jwils...@joyent.com<mailto:jwils...@joyent.com>> wrote: I am running joyent_20161013T025521Z now. It seems in this version rotate-kvm-log is done by cron not logadm. But I also noticed when a kvm instance was created there was a corresponding entry occurred in /var/logadm/timestamp like following: "/zones/c3f09892-f36e-4784-9853-b4ceb3e762da/root/tmp/vm.log -P 'Wed Jan 4 05:20:15 2017'". Is this from the "vmadm create" operation? And it looks because of this bug(https://smartos.org/bugview/OS-3097), if the kvm instance is destroyed, the corresponding logadm action won't be removed. Hi Fred, Using "vmadm create" does not do anything with log rotation, neither does "vmadm delete", but what you're seeing there does look like what ends up happening due to this logadm bug. Thanks, Josh smartos-discuss | Archives<https://www.listbox.com/member/archive/184463/=now> [https://www.listbox.com/images/feed-icon-10x10.jpg96494be.jpg?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2ZlZWQtaWNvbi0xMHgxMC5qcGc] <https://www.listbox.com/member/archive/rss/184463/21991222-c237e945> | Modify<https://www.listbox.com/member/?&> Your Subscription [https://www.listbox.com/images/listbox-logo-small.png96494be.png?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2xpc3Rib3gtbG9nby1zbWFsbC5wbmc] <http://www.listbox.com> ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com