sukria / dancer-logger-syslog Goto Github PK
View Code? Open in Web Editor NEWDancer logger engine for Sys::Syslog
Dancer logger engine for Sys::Syslog
startup with log: "core" and config.yml having log: "console" looks like this:
blade9:/opt/ballet # ./ballet.pl
[9122] core @0.000017> loading application ballet in ./ballet.pl l. 4
[9122] debug @1.002600> session_dir : /tmp/dancer-sessions in /usr/lib/perl5/site_perl/5.10.0/Dancer/Object.pm l. 14
[9122] debug @1.009605> session_dir : /tmp/dancer-sessions in /usr/lib/perl5/site_perl/5.10.0/Dancer/Object.pm l. 14
[9122] core @1.010063> loading Standalone handler in /usr/lib/perl5/site_perl/5.10.0/Dancer.pm l. 193
Dancer server 9122 listening on http://0.0.0.0:3000
== Entering the development dance floor ...
that's good - but try to use logger::syslog with config.yml using log: 'syslog' and we see this:
blade9:/opt/ballet # ./ballet.pl
Use of uninitialized value $level in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.10.0/Dancer/Logger/Syslog.pm line 31.
syslog: expecting argument $priority at /usr/lib/perl5/vendor_perl/5.10.0/Dancer/Logger/Syslog.pm line 42
that's bad - but if we change the logger level down from "core" then all is well again.
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.