I've coded a couple of changes that I think are improvements to
sipx-snapshot, but I want people's opinions on them before I commit the
changes.

1. The file 'extract.log', which is used to record output from the
log-cutting operation, is now archived at the top-level directory of the
tar file, rather than being put in SIPX_LOGDIR.  This is proper, because
it is documentation about the snapshot process, not a log file.

2. The first lines of SystemConfig have been changed from:

        Snapshot:  ../dir-local/bin/sipx-snapshot 3.11.11-014746.dworley
        
        Host:      victoria-pingtel-com.us.nortel.com
        
        Date:      Wed Feb 18 18:52:43 UTC 2009
                   Wed Feb 18 13:52:43 EST 2009

to:

        Snapshot:  ../dir-local/bin/sipx-snapshot --log-start 2004-12-08 
17:45:30 --log-stop 2004-12-08 18:12:52
        
        Version:   3.11.11-014746.dworley
        
        Host:      victoria-pingtel-com.us.nortel.com
        
        Date:      Wed Feb 18 19:00:36 UTC 2009
                   Wed Feb 18 14:00:36 EST 2009

That is, the Snapshot line shows not only $0 but all the arguments, and
the Version of sipx-snapshot has been moved to a separate line.  This
documents the arguments used to generate the snapshot, which can be
useful in cases where the snapshot has unexpected contents.

Thoughts?

Dale


_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to