Zipper– Log Archiver tool

 

Zipper is log archiving utility that compresses and archives application log files. I developed it to use it to archive Genesys application logs but can be used for other application logs, as well.

Why we need zipper utility?


Have you ever heard these conversations from your support team?

‘We don’t have log files for this particular time frame’

‘Log files rolled over. Have to wait for next occurrence’

Even though, both engineer and customer know that there is an issue, they can’t do anything due to lack of log files. Also, you can compress log file to 90% of its original size i.e) you can store 9 times more than your current configuration. This led me to develop tool on my own to scan for log files on predefined intervals, compress and store it in different folder.

Design Considerations


Initially, I designed to watch log file directory for changes to start archiving activity but decided against it as there is no need to have this application running (& utilizing system resources) for log archiving. Now, zipper can be configured in windows scheduled tasks so that user can configure to schedule it as per their requirements.

You can download and install Zipper from here.

How to configure?


Zipper can be configured to scan log files in multiple directories and easily configured using any text editor. To configure, follow the steps below

  • Open ‘zipper.exe.config’ from installation directory in any text editor
  • Go to section ‘zipper’ as shown in screenshot below

image

image name – Unique identifier for each directory
image sourcedirectory – Directory path where log files will be available. Zipper application will scan this directory for files
image targetdirectory – Directory path where log files will be compressed and stored by zipper application
image filepattern – Used to define file extensions. For Genesys logs, use “*.log”
image deleteoriginal – Setting this option to ‘true’ will delete log file once it is compressed and archived. ‘false’ will keep original file in the source directory

I am looking to expand functionality by adding scheduling functionality within the application and will release it in next version. For any feedback, feel free to comment me and will try to add it.

Download zipper.setup

(Visited 47 times, 1 visits today)

Tagged: , , ,

Comments: 9

  1. imfak1 July 23, 2014 at 9:28 am Reply

    Hi, This tool is just awesome bro… I just love it… waiting for your next version..

  2. imfak1 July 31, 2014 at 11:46 am Reply

    Well… need your contact. can you share me your contact info.. Do you have the time based archiving of zipper bro..

    • blakshmikanth July 31, 2014 at 12:05 pm Reply

      You can contact me at lakshmikanth at flexicontact dot com

  3. […] year, I wrote Zipper, an utility tool to zip and archive log files. Thanks for all your feedback comments and […]

  4. Albert Göbl August 18, 2014 at 4:14 pm Reply

    How are you ?
    Always struggle with log files and wasn’t that keen on lfmt as it looks like it creates a lot of network traffic..so like this.. .how will it cope with a file still getting written to ?

    • blakshmikanth August 18, 2014 at 8:55 pm Reply

      Good question. I check whether file is locked by another process before compressing the file. If it is locked i.e) used by process, it will not be considered for compression/archiving.

  5. […] year, I wrote Zipper, a log archiver utility tool to save log files in compressed format (zip). Thanks for all your […]

  6. matthewpomar July 5, 2018 at 1:33 am Reply

    Hi, was excited about your utility, but the download links are broken. From the looks of it (“zipper.exe.config”, seems this is a .net app), any chance of you making this open source on github?

Leave a Reply

Your email address will not be published. Required fields are marked *