evotodi / log-viewer-bundle Goto Github PK
View Code? Open in Web Editor NEWSymfony Log Viewer
License: MIT License
Symfony Log Viewer
License: MIT License
The option use_carbon in the given examples of the readme file is wrong. It should be under log_files attribute not a the same level. I believe you updated the Readme but forgot to update the information in the evo_log_viewer.yaml, where you can find the use_carbon option at the end of the file
Hi, I am working on symfony 5.4.
After adding the bundle and setting up the routes and config file, all I get is too many redirects error.
If the url I set is '/logs', it goes into an infinite loop of /logs => /logs/ => /logs => /logs/
Is there any information I can give you to help solve this issue? Thank you
Hello !
Your project is very interesting ! But when I try to use it, i got an error :
There is no extension able to load the configuration for "log_files" (in C:\Path\to\the\config\files\config/packages/evo_log_viewer.yaml). Looked for namespace "log_files", found "framework", "sensio_framework_extra", "doctrine", "doctrine_migrations", "security", "swiftmailer", "twig", "web_profiler", "monolog", "debug", "maker", "web_server", "doctrine_fixtures", "mercure", "evo_log_viewer" in C:\Path\to\the\config\files\config/packages/evo_log_viewer.yaml (which is loaded in resource "C:\Path\to\the\config\files\config/packages/evo_log_viewer.yaml").
I have configure the evo_log_viewer.yaml in the config/packages repo and evo_log_viewer_routes.yaml in the config/routes repo...
Do you have any idea ?
Hope I will use asap your project :D
EDIT : Fixed on your README.md
You should add a twig parent()
tag, to add the bootstrap styles in the logView.html.twig:
{% block stylesheets %}
{{ parent() }}
<link rel="stylesheet" href="{{ asset('bundles/evotodilogviewer/css/log-viewer.css') }}">
<link rel="stylesheet" href="{{ asset('bundles/evotodilogviewer/vendor/highlight/styles/darcula.css') }}">
{% endblock %}
Hi! I'm getting the following exception when following your installation instructions:
LogicException:
"evotodi_log_viewer.log_list_controller" has no container set, did you forget to define it as a service subscriber?
at vendor/symfony/framework-bundle/Controller/ControllerResolver.php:39
at Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver->configureController(object(LogListController), 'evotodi_log_viewer.log_list_controller')
(vendor/symfony/framework-bundle/Controller/ControllerResolver.php:29)
at Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver->instantiateController('evotodi_log_viewer.log_list_controller')
(vendor/symfony/http-kernel/Controller/ControllerResolver.php:120)
at Symfony\Component\HttpKernel\Controller\ControllerResolver->createController('evotodi_log_viewer.log_list_controller::logListAction')
(vendor/symfony/http-kernel/Controller/ContainerControllerResolver.php:42)
at Symfony\Component\HttpKernel\Controller\ContainerControllerResolver->createController('evotodi_log_viewer.log_list_controller::logListAction')
(vendor/symfony/http-kernel/Controller/ControllerResolver.php:86)
at Symfony\Component\HttpKernel\Controller\ControllerResolver->getController(object(Request))
(vendor/symfony/http-kernel/Controller/TraceableControllerResolver.php:38)
at Symfony\Component\HttpKernel\Controller\TraceableControllerResolver->getController(object(Request))
(vendor/symfony/http-kernel/HttpKernel.php:140)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:79)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:196)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(public/index.php:43)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.