Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

_lcmaps_log.h File Reference

Internal header file for LCMAPS logging routines. More...

#include "lcmaps_log.h"

Go to the source code of this file.

Functions

syslogging has to be done
internal *int 
lcmaps_log_open (char *path, FILE *fp, unsigned short logtype)
 Start logging. More...

int lcmaps_log_close ()
 Stop logging. More...


Detailed Description

Internal header file for LCMAPS logging routines.

Author:
Martijn Steenbakkers for the EU DataGrid.

Definition in file _lcmaps_log.h.


Function Documentation

lcmaps_log_close  
 

Stop logging.

Definition at line 324 of file lcmaps_log.c.

lcmaps_log_open char *    path,
FILE *    fp,
unsigned short    logtype
 

Start logging.

This function should only be used by the LCMAPS itself. It opens the logfile and tries to set the debugging level in the following order:

  1. Try if DEBUG_LEVEL > 0
  2. Try if environment variable LCMAPS_DEBUG_LEVEL is set and if it is an integer > 0
  3. Otherwise set debug_level = 0;
Parameters:
path  path of logfile.
fp  file pointer to already opened file (or NULL)
logtype  DO_USRLOG, DO_SYSLOG
Return values:
0  succes.
1  failure.

Definition at line 82 of file lcmaps_log.c.


Generated on Sat Oct 2 02:18:27 2004 for edg-lcmaps by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002