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
Sympa::Log(3Sympa) sympa 6.2.62 Sympa::Log(3Sympa)

Sympa::Log - Logging facility of Sympa

  use Sympa::Log;

  my $log = Sympa::Log->instance;
  $log->openlog($facility, 'inet');
  $log->{level} = 0;
  $log->syslog('info', '%s: Stat logging', $$);

TBD.

instance ( )
Constructor. Creates new singleton instance of Sympa::Log.
openlog ( $facility, $socket_type, [ options ... ] )
TBD.
syslog ( $level, $format, [ parameters ... ] )
TBD.
get_log_date
TBD,
db_log
TBD.
add_stat
TBD.
get_first_db_log
TBD.
get_next_db_log
TBD.
aggregate_stat
TBD.
aggregate_daily_data
TBD.

Instance of Sympa::Log has following properties.
{level}
Logging level. Integer or "undef".
{log_to_stderr}
If set, print logs by syslog() to standard error. Property value may be log level(s) to print or 'all'.

Sys::Syslog, Sympa::DatabaseManager.

Database logging feature contributed by Adrien Brard appeared on Sympa 5.3.

Statistics feature appeared on Sympa 6.2.

Log module was renamed to Sympa::Log on Sympa 6.2.

2021-04-27 6.2.62

Search for    or go to Top of page |  Section 3 |  Main Index

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