You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Mohammad Arshad (Jira)" <ji...@apache.org> on 2022/03/29 15:05:00 UTC

[jira] [Created] (ZOOKEEPER-4507) Create ZOO_DAEMON_OUT file backup when restarting the server

Mohammad Arshad created ZOOKEEPER-4507:
------------------------------------------

             Summary: Create ZOO_DAEMON_OUT file backup when restarting the server
                 Key: ZOOKEEPER-4507
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4507
             Project: ZooKeeper
          Issue Type: Improvement
          Components: scripts
            Reporter: Mohammad Arshad
            Assignee: Mohammad Arshad
         Attachments: image-2022-03-29-20-33-57-181.png

The ZooKeeper server deamon out file zookeeper-$USER-server-$HOSTNAME.out is overwritten on every server restart. 
Like the other log file we should create backup of this file also. Many times information logged into these file are useful in issue analysis. For example this contains the information about which transaction and which snapshot files were deleted. These are useful info, we should retain for some time. May be by default we can backup 5 .out files like below

 !image-2022-03-29-20-33-57-181.png! 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)