/[pdpsoft]/trunk/grid-mw-security/ees/src/nextgen/ng_log.c
ViewVC logotype

Diff of /trunk/grid-mw-security/ees/src/nextgen/ng_log.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 807 by aramv, Thu Sep 17 12:04:09 2009 UTC revision 808 by aramv, Thu Sep 17 12:11:56 2009 UTC
# Line 14  EES_RC ng_log(int priority, const char* Line 14  EES_RC ng_log(int priority, const char*
14    if(priority == LOG_ERR){    if(priority == LOG_ERR){
15      vfprintf(stderr, format, args);      vfprintf(stderr, format, args);
16    }    }
17            va_end(args);
18  #if ENABLE_DEBUG  #if ENABLE_DEBUG
19            va_start(args, format);
20    if(priority == LOG_DEBUG){    if(priority == LOG_DEBUG){
21      vfprintf(stdout, format, args);      vfprintf(stdout, format, args);
22    }    }
23            va_end(args);
24  #endif  #endif
25            va_start(args, format);
26          vsyslog(priority, format, args);          vsyslog(priority, format, args);
27          va_end(args);          va_end(args);
28          return 0;          return 0;

Legend:
Removed from v.807  
changed lines
  Added in v.808

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28