/[pdpsoft]/trunk/grid-mw-security/ees/src/eef/eef_common.c
ViewVC logotype

Diff of /trunk/grid-mw-security/ees/src/eef/eef_common.c

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

revision 1059 by aramv, Sun Oct 11 16:47:54 2009 UTC revision 1060 by aramv, Fri Nov 6 14:01:18 2009 UTC
# Line 8  static const char*          _modules_pat Line 8  static const char*          _modules_pat
8   *   *
9   */   */
10  EES_RC EEF_Init(char *config_file){  EES_RC EEF_Init(char *config_file){
11          if (AOS_Init() == EES_SUCCESS){      openlog ("ees", LOG_CONS | LOG_PID | LOG_NDELAY, LOG_DAEMON);
       openlog ("ees", LOG_CONS | LOG_PID | LOG_NDELAY, LOG_LOCAL1);  
12  #if ENABLE_DEBUG  #if ENABLE_DEBUG
13        eef_log(LOG_INFO, "DEBUG MODE ENABLED\n");      eef_log(LOG_INFO, "DEBUG MODE ENABLED\n");
14  #else  #else
15        setlogmask (LOG_UPTO(LOG_NOTICE));      setlogmask (LOG_UPTO(LOG_INFO));
16  #endif  #endif
17    
18            if (AOS_Init() == EES_SUCCESS){
19      if(startPluginManager() == EES_SUCCESS){      if(startPluginManager() == EES_SUCCESS){
20        if(pdl_init(config_file) == EES_SUCCESS){        if(pdl_init(config_file) == EES_SUCCESS){
21          /* after the config file was successfully read, we can try to set the modules path if one was provided */          /* after the config file was successfully read, we can try to set the modules path if one was provided */

Legend:
Removed from v.1059  
changed lines
  Added in v.1060

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