Sunday, September 18, 2011

Cobra Log Zipper

The Cobra Log Zipper is a utility I’ve written that locates the various Cobra log files and zips them to a location specified by the user.
For more information on Deltek Cobra 5, visit:
http://www.deltek.com/products/cobra/default.asp


The tool will automatically work out the list of log file locations once started.
Clicking the zip log files button will compress the log files to the specified location.
By default, the zip will be created in the user’s My Documents folder.

The Cobra Log Zipper Grid
When Cobra Log Zipper starts, it locates all Cobra Log Files in the machine and creates an entry for them in the grid.
The records in this grid will be included in the zip file when the user clicks on the Zip log files button.
The Cobra Log Zipper grid contains five columns.
·         The file name column contains the name of the Cobra log file detected in the system.
·         The last updated column contains the date and time when this file was last written to.
·         The age column describes how long since the file was last written to.
·         The size column specifies how large the Cobra log file entry is.
·         The location column shows the full path where the Cobra log file was found.

Previewing Cobra Log Files
The Open in notepad button will open the selected Cobra log file using Windows notepad.
This can also be done by double clicking on the Cobra Log Zipper grid.
The open log folder will open the selected Cobra log file’s directory using Windows Explorer.
A right click in the CobraLogZipper grid will open up a context menu which either option can be selected.

Specifying a destination folder
By default the Cobra Log Zipper will place zipped files in the My Documents folder.
This can be changed by manually typing in the path inside the destination folder text box.
The background color will change to signal a valid or an invalid folder entry.


The textbox will offer suggestions as you type based on the folders that exist in the system.
The destination folder can also be specified via a folder browser dialog by clicking on the ellipsis button beside the textbox.
The folder browser dialog allows the user to create and specify an output folder where the Cobra Log Zipper will place its generated file.
The contents of the output folder can be viewed by clicking on the Open output folder in explorer icon.

Zipping the Log Files
Clicking on the zip log files creates a zip file containing the Cobra Log files outlined in the Cobra Log Zipper grid and places them in the specified destination folder.
Clicking the Zip log files button invokes a results dialog which contains details on the zipping process.
The contents of the output folder can be viewed from this screen by clicking on the Open output folder icon.

No comments:

Post a Comment