Git Product home page Git Product logo

logfix's Introduction

logfix

Log file remediation program

Software generates log files useful for trouble-shooting, but users often view the log files, then use copy and paste when they raise a problem. That causes folded lines to be broken into two or more lines. This makes parsing the file for trouble-shooting annoying.

This software will fix-up such broken log files.

logfix install

  1. Download the project:
    If you have git:

    git clone https://github.com/agustinruiz/logfix.git 

    if you don't, click on "Code -> Download ZIP" and unzip it.

  2. Install python if you don't have it already.

    from: https://www.python.org/downloads/

logfix run

The main file of the program is /src/logfix.py

You could run it using the make command:

make 

You could run it going to the src directory an executing the following command:

python3 logfix.py 

logfix test

If you want you could run the test script to see how the outputs files are generated from the samples files.

You could run the tests using the make command:

make test

Or you could run it directly going to the tests directory and running the following command

python3 logfix_test.py 

logfix's People

Contributors

agustinruiz avatar

Watchers

 avatar

logfix's Issues

Solution.

You may want to try again. The solution should not be dropping lines that don't start with the process name.

[def ] ALLOWCERTERRORS
[def ] ALLOWIP <>
[def ] ALLOWRENEGOTIATION
[def ] AUDITCONSOLE <
>
[def ] AUDITDELIMITER <,>
[def ] AUDITFILE <*>

and

-------------- MAIN STACK --------------
Origin of Main Stack: 1879048192
Current Main Stack Size: 262144 bytes ( 256 KiB )
Maximum available Main Stack Size: 10485760 bytes ( 10 MiB )
Main Stack Usage: 2.5%

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.