Dancer::Logger(3pm) User Contributed Perl Documentation Dancer::Logger(3pm)NAME
Dancer::Logger - common interface for logging in Dancer
DESCRIPTION
This module is the wrapper that provides support for different logger engines.
USAGE
Default engine
The setting logger defines which logger engine to use. If this setting is not set, logging will not be available in the application code.
Dancer comes with the logger engines Dancer::Logger::File and Dancer::Logger::Console, but more are available on the CPAN.
Configuration
The logger configuration variable tells Dancer which engine to use.
You can change it either in your config.yml file:
# logging to console
logger: "console"
Or in the application code:
# logging to file
set logger => 'file';
The log format can also be configured, please see "logger_format" in Dancer::Logger::Abstract for details.
Auto-serializing
The loggers allow auto-serializing of all inputs:
debug( 'User credentials: ', \%creds );
Will provide you with an output in a single log message of the string and the reference dump.
AUTHORS
This module has been written by Alexis Sukrieh. See the AUTHORS file that comes with this distribution for details.
LICENSE
This module is free software and is released under the same terms as Perl itself.
SEE ALSO
See Dancer for details about the complete framework.
You can also search the CPAN for existing engines in the Dancer::Logger namespace :
<http://search.cpan.org/search?query=Dancer%3A%3ALogger>.
perl v5.14.2 2012-04-01 Dancer::Logger(3pm)
Check Out this Related Man Page
Dancer::Session::Memcached(3pm) User Contributed Perl Documentation Dancer::Session::Memcached(3pm)NAME
Dancer::Session::Memcached - Memcached-based session backend for Dancer
VERSION
version 0.202
DESCRIPTION
This module implements a session engine based on the Memcache API. Session are stored as memcache objects via a list of Memcached servers.
CONFIGURATION
The setting session should be set to "memcached" in order to use this session engine in a Dancer application.
A mandatory setting is needed as well: "memcached_servers", which should contain a comma-separated list of reachable memecached servers
(can be either address:port or sockets).
Here is an example configuration that uses this session engine
session: "memcached"
memcached_servers: "10.0.1.31:11211,10.0.1.32:11211,10.0.1.33:11211,/var/sock/memcached"
DEPENDENCY
This module depends on Cache::Memcached.
SEE ALSO
See Dancer::Session for details about session usage in route handlers.
AUTHOR
Alexis Sukrieh <surkia@sukria.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Alexis Sukrieh.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.12.4 2011-10-21 Dancer::Session::Memcached(3pm)
Hi
First of I got i red hat linux 7.0 running on my computer, when i reboot
its says Starting System Logger (failed) and then the loggin window shows up , is anything wrong with it...any sugestion?
Second of all i have att broadband and network card (Netgear 311) and i want to... (2 Replies)
Hello
one of my sites i host is doing somewhat well in the search engines, and i would like to watch the raw log files while looged in with telenet
is there a way to do this.
thanx
Mike (2 Replies)
Hi I have a command in a script .
/usr/bin/iostat -E
I would like to place an entry in /var/adm/messages (via syslog) as a daemon.notice using the logger command but i just cant work out the syntax for this , do I pipe the output of iostat into logger? or is it redirected...can somebody give me... (1 Reply)
How could I get the name of user of a file in a file path ?
OR
Who i accessing the particular file in a file path ?
Any Idea ??
Please help !!
Thanks :) (1 Reply)
My website has some weird malware installed in it. When I click on a link from a search engine (google, bing, or even yahoo) my pages get a string of javascript inserted into them. The page can be a simple "Hello World" and it will still inject a line of javascript into the page. Here is a screen... (1 Reply)
Hi,
Can anyone help me out for my below problem.
I need to replace all System.out.println with Logger.println in *.java using SED (spanning multiple lines)
including current & sub-directories.
I tried with below command. But it is not replacing when source text is spanned over multiple... (4 Replies)