Code Monkey home page Code Monkey logo

tox82 / loghappens Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 6.0 340 KB

Bug happens. Every developer knows that. The bad thing is that if you want to see what happened you have to analyze hundreds of lines of log files, written in a format that is anything but human friendly... Know the feeling? Then logHappens is here for you!

Home Page: https://tox82.github.io/logHappens/

License: GNU General Public License v3.0

PHP 70.84% JavaScript 6.14% CSS 0.97% Hack 7.34% HTML 14.72%
debug debugging-tool log-viewer logging parsers php

loghappens's People

Contributors

essemme avatar pietervanheijningen avatar simone-capelli avatar tox82 avatar

Stargazers

 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

loghappens's Issues

Feature Request: Search by Timestamps/Dates

I am an active user of your application and I find it very useful for my daily tasks. However, I noticed that the current search functionality only allows searching for log entries, but not for timestamps or dates.

Being able to search for specific timestamps or dates would greatly enhance the usability of the application, as it would allow users to quickly navigate to logs from a specific time period.

Could you please consider adding this feature in a future update?

Thank you for your time and consideration!

Support for large files

Hey!

I've got some pretty big log files that I want to view (32 mil+ lines).
But it seems like the application loads the entire file in at once and then generates the pages in the frontend. Wouldn't it be nicer if it only loads the content needed for the first page? I can't even get a file with 20k lines to load in now without the browser crashing. Therefore it seems hard to actually use it.

Other than that the application is pretty cool though!

error on php8

Fatal error: Uncaught Error: Class "IntlDateFormatter" not found in /home/ubuntu/Test_Project/test/logHappens/libs/utilities.php:16 Stack trace: #0 /home/ubuntu/Test_Project/test/logHappens/parsers/apache24.php(13): toDateTime() #1 /home/ubuntu/Test_Project/test/logHappens/logics/Parsers.php(91): include('...') #2 /home/ubuntu/Test_Project/test/logHappens/logics/Parsers.php(76): Logics\Parsers->count() #3 /home/ubuntu/Test_Project/test/logHappens/routers/router.php(10): Logics\Parsers->countAll() #4 /home/ubuntu/Test_Project/test/logHappens/webroot/index.php(9): include('...') #5 {main} thrown in /home/ubuntu/Test_Project/test/logHappens/libs/utilities.php on line 16


master clone,
composer install success
get this error on php8

Not working on Caddy

Hi, I am trying to run logHappens on Caddy and it seems there are no instructions for running it with Caddy. I assume the problem lies in that Caddy doesn't use the .htaccess file and thus cannot rewrite the requests.

I tried putting in

rewrite * /webroot/{uri}

But this results in an empty page.

Issue getting up and running

Hi,

  1. I have the project downloaded through the zip file into a readable directory for Apache
  2. Created a site which exposes the webroot dir as documentroot.
  3. Copied the config.default.json to config.json.
  4. I did the composer install as the page suggested.
  5. but now I get a 404 Not Found error when I go to http://<fqdn>, it wants to load http://<fqdn>/display/info

Could you help me solve this?

# cat config.json
{
    "parsers": {
        "apache": {
            "icon": "logos:apache",
            "color": "#104B73",
            "title": "Apache error",
            "file": "/var/log/apache2/error.log",
            "parser": "apache24"
        }
    }
}
# cat logs.conf
<VirtualHost *:80>
  ServerName logs.fqdn
  DocumentRoot /var/www/html/logs/webroot
  <Directory /var/www/html/logs/webroot/>
    Options Indexes FollowSymLinks
    AllowOverride All
  </Directory>
</VirtualHost>
# apachectl -v
Server version: Apache/2.4.41 (Ubuntu)
Server built:   2022-06-14T13:30:55
# php -v
PHP 8.1.8 (cli) (built: Jul 11 2022 08:29:57) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.8, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.8, Copyright (c), by Zend Technologies

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.