GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  OPENXPKI::SERVER::LOG (3)

.ds Aq ’

Name

OpenXPKI::Server::Log - logging implementation for OpenXPKI

CONTENTS

Description

This is the logging layer of OpenXPKI. Mainly we use Log::Log4perl. The important difference is that we replace the original DBI appender with our own appender which can handle some funny details of some special databases. Additionally our log function do some special things to meet our requirements.

Functions

    new

This function only accepts one parameter - CONFIG. CONFIG includes the filename of the Log::Log4perl configuration.

    init

is used by both new and re_init to initialize the Log4perl objects

    re_init

is just a fancier name for init, is called in the forked child at ForkWorkflowInstance.pm

    log

This function creates a new log message it accept the following parameters:
o PRIORITY (debug, info, warn, error, fatal)
o FACILITY (auth, audit, monitor, system, workflow)

It is possible to specify more than one facility by passing an array reference here.

o MESSAGE (normal text string)
o MODULE (overwrites the internally determined caller) - optional
o FILENAME (overwrites the internally determined caller) - optional
o LINE (overwrites the internally determined caller - optional)
Default is system.fatal: [OpenXPKI] undefined message.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 OPENXPKI::SERVER::LOG (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.