Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.340.457 Times

Log::Log4perl::Layout::XMLLayout 0.03

  Date Added: July 09, 2010  |  Visits: 1.147

Log::Log4perl::Layout::XMLLayout

Report Broken Link
Printer Friendly Version


Product Homepage
Download (101 downloads)



Log::Log4perl::Layout::XMLLayout is an XML Layout. SYNOPSIS use Log::Log4perl::Layout::XMLLayout; my $app = Log::Log4perl::Appender->new("Log::Log4perl::Appender::File"); my $logger = Log::Log4perl->get_logger("abc.def.ghi"); $logger->add_appender($app); # Log with LocationInfo my $layout = Log::Log4perl::Layout::XMLLayout->new( { LocationInfo => { value => TRUE }, Encoding => { value => iso8859-1}}); $app->layout($layout); $logger->debug("Thats the message"); ########################### Log4perl Config File entries for XMLLayout log4perl.appender.A1.layout = Log::Log4perl::Layout::XMLLayout log4perl.appender.A1.layout.LocationInfo = TRUE log4perl.appender.A1.layout.Encoding =iso8859-1 ########################### Creates a XML layout according to http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/xml/XMLLayout.html Logfiles generated based on XMLLayout can be viewed and filtered within the log4j chainsaw graphical user interface (see example section below). chainsaw is part of the JAVA based log4j package and can be downloaded from http://jakarta.apache.org/ The output of the XMLLayout consists of a series of log4j:event elements as defined in the log4j.dtd. It does not output a complete well-formed XML file. The output is designed to be included as an external entity in a separate file to form a correct XML file. For example, if abc is the name of the file where the XMLLayout ouput goes, then a well-formed XML file would be: < ?xml version="1.0" ? > < !DOCTYPE log4j:eventSet SYSTEM "log4j.dtd" [< !ENTITY data SYSTEM "abc" >] > < log4j:eventSet version="1.2" xmlns:log4j="http://jakarta.apache.org/log4j/" > &data; < /log4j:eventSet > This approach enforces the independence of the XMLLayout and the appender where it is embedded. The version attribute helps components to correctly intrepret output generated by XMLLayout. The value of this attribute should be "1.1" for output generated by log4j versions prior to log4j 1.2 (final release) and "1.2" for relase 1.2 and later..

Requirements: No special requirements
Platforms: Linux
Keyword: File Layout Libraries Output Programming Xml Layout Xmllayout
Users rating: 0/10

License: Freeware Size: 6.14 KB
USER REVIEWS
More Reviews or Write Review


LOG::LOG4PERL::LAYOUT::XMLLAYOUT RELATED
Libraries  -  JsHttpRequest 5.0
JsHttpRequest project is an easy-to-use cross-browser AJAX library with AJAX file uploading support and many other features. JsHttpRequest first appeared as cross-browser analogue of XMLHttpRequest, and then became a very useful instrument to...
122.88 KB  
Finance  -  xmlfy 1.5.5
xmlfy is a command line tool that converts text/UTF-8 based output into XML formatted output using schema files and/or options to control its behaviour. xmlfy is a powerful yet lightweight tool that primarily caters for converting ASCII, UTF-8,...
 
Programming  -  loxun 0.8
loxun is a Python library that can be used to write large output in XML using Unicode and namespaces. Of course you can also use it for small XML output with plain 8 bit strings and no namespaces. Here is a very basic example. First you...
20.48 KB  
Network & Internet  -  mod_murka 0.8
mod_murka creates a convenient apache, xml, xsl based web publishing environment. It manages caching of static html pages and integrates nicely with Tomcat for dynamic pages to provide a flexible, high performance MVC development framework. How...
51.2 KB  
Modules  -  NITF Views 6.x-1.x-de
Heavily based on the row style bits of Atom Views, this module allows Views to output NITF XML documents for nodes. You can select RSS or Atom (depends on Atom Views) styles for a Views 2 "display" in feed form and select NITF XML as your row...
10 KB  
Graphic Conversion Tools  -  ANVSOFT Flash Slide Show Maker 2.1
Flash Slide Show Maker is a Flash album creator to make animated photo slide shows with a SWF file as the output format. It transforms digital photo collections to Macromedia Flash file format (SWF) so that you can share your memorial moments with...
4.7 MB  
Project Management  -  Free Microsoft Project Viewer 3.1
Free MOOS Project Viewer is a free online Microsoft Project viewer that can open any MS Project file type (.mpp, .mpt, .mpx, .xml) for any Microsoft Project version (2000, 2003, 2007, 2010). It is running on any Java enabled platform...
9.52 MB  
Audio Recorders  -  Swifturn Free Sound Recorder 9.2.6
Want to create popular MP3 or wave sound files on the fly? Swifturn Free Sound Recorder, a perfect solution for audio, music & voice recording. It is able to record, technically, any sound you hear. The output is direct with no temp trash created,...
10.29 MB  
Business  -  Flash Magazine Free PDF to ePub 2.0
Flash Magazine Free PDF to ePub is a standalone and efficient desktop application to convert PDF format to ePub. That is to say, this PDF to ePub conversion tool has the ability to convert PDF file and finally output an eBook format, which is...
10.19 MB  
Graphics Editors  -  Flash Maker 1.9
Flash Maker is a Flash Album Creator to make animated photo slide show with SWF file as the output format. It transforms your digital photo collection to Macromedia Flash file format ( SWF ) which you can share your memorial moments with your...
 
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB