Skip to content

eidsonator/WebLogViewerBundle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build status Coverage Status

WebLogViewerBundle

Description

A Symfony bundle to enable viewing your log files via your web front end.

It includes color-coded and collapsable log levels, as well as formatted JSON to SQL.

Installation

Use composer to download the bundle from packagist

composer require greenskies/web-log-viewer-bundle

Register the bundle

public function registerBundles()
    {
        $bundles = [
            //... 
            new Greenskies\WebLogViewerBundle\WebLogViewerBundle(),
            //...
        ];

Routing

# app/config/routing.yml

logs:
    resource: '@WebLogViewerBundle/Controller/'
    type: annotation

Security

Since logs can contain sensitive data it is important that we control access to them.

security:
    #...
    access_control:
        - { path: ^/logs,           roles: ROLE_ADMIN }
        #...
    #...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 50.7%
  • CSS 27.5%
  • HTML 20.6%
  • JavaScript 1.2%