Giter Club home page Giter Club logo

pimpmylog's People

Contributors

bitdeli-chef avatar potsky avatar waffle-iron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pimpmylog's Issues

Highlight

A user could choose :

  • a word or a regex
  • a color
  • a style (background or text color)

Then replace the word/regex by a <span ...>match

Replace Match array concatenation

[ " : " , 2 , 3 ] should be replaced by [ " : " , 2 , " : " , 3 ]

More granular got users and custom dates could be built with this feature.

Check in the tester if if works too

Config tester

Inc/testconfig.php
Cannot be launched directly.

It can be executed only if its name is testconfigok.php

It performs some sanity tests for remote debugging for support.

invalid config file generated

Assigned to Problems #8. All injected json data have to be json-encoded in the configuration process.

As reported in Tender:

the configure generated an invalid config.user.json

it says:
config.user.json configuration file is buggy:
No file is defined in files array

Only parse new data in log file

Do not regenerate the table, only append new logs on top.

Reload the table and the full logs computing when search, file and number of lines have changed

[bug] script floods the HDD until it is full (!)

When using the script with Apache2 (logs in /var/logs/apache2/error.log) it will create an unlimited amount of errors (!) that will flood the /var/logs/apache2/error.log until it has the size of the full HDD.

I could reproduce this.

Due to the fact that the script is obviously built for Apache1 which is used by nobody anymore, I would recommend a takedown or a rewrite of the entire script. Because it kills users's server !

I would do the job if there's time...

Add title token

%N : to display the name of the current log file
%I : to display the id of the current log file

Type wrappers

Do not manage :

  • Date
  • IP
  • Referer
  • Log
  • User / CMD
  • Code / Severity
  • UA
  • Size
  • ...

But

  • date
  • URLgeo or URLhttplink
  • URLhttplink
  • codetxt
  • txt
  • severitybadge
  • useragent
  • filesize
  • ...

People will then be able to manage new log files with default types.

Clarify log locations on different linux distribution

I'm really not a server guy, so maybe I'm talking bullshit here, but I think the location of the Apache logs differs strongly in the different linux distributions.

Maybe we should create a list of default log locations or something, let the tool grab the distribution it runs on an therefore decide where to look for the logs.
This could make the application config-free! Yeah.

In Ubuntu 12 the logs are in (same for Apache 2.2 and 2.4):
/var/log/apache2/access.log and
/var/log/apache2/error.log

Support PHP error log

Assigned to Suggestions #12.

At configuration time :

  • in software file, check whether ini_get('error_log') is not empty and declare PHP software or not
  • Build paths
  • Apply apache error style but only with PHP strings

Multiline logs

Pimp My Log parses the log file from bottom to top. Get a log line:

  • If the file object option "multiline" is set to true
  • If the line is not parsed, it is kept in a buffer
  • If the next line is not parsed, it is appended to the buffer
    ...
    If the next line is parsed, the last field equals to the current line field value + the reversed buffer.

Undefined variable: test

Assigned to Problems #12. As reported in Tender:

[Wed Jan 22 23:02:04 2014] [error] [client 12] PHP Notice: Undefined variable: test in logfiles/cfg/apache.config.php on line 49

using latest version 0.9.9

Tests

  • Timezone
  • No logs found

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.