Uploaded image for project: 'DMC - Development'
  1. DMC - Development
  2. DMC-741

Replace G_LOG_LEVEL_INFO with other levels

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: gfal 2.9.3
    • Fix Version/s: gfal 2.10
    • Component/s: gfal 2
    • Security Level: Public Data (This ticket is visible to anyone on the internet and will be indexed by search engines)
    • Labels:
      None

      Description

      We found a community of ARC users using ARC's gfal2 plugin to access LFC (since native LFC support was recently removed from ARC). They had problems with data transfers because ARC CE uses stdout for some communication between processes, and gfal2 prints debug messages to stdout, interfering with this communication. Can you have all debug output going to stderr instead? It seems that "GFAL2-Message" goes to stderr but eg "GFAL2-INFO" goes to stdout.

      For example:

      > arccp -d VERBOSE lfc://lfc.grid.org.ua:5010/grid/testbed.univ.kiev.ua/dc.test.2 /tmp/3 2>/dev/null
      GFAL2-INFO: ... no GFAL_PLUGIN_DIR environment variable specified, try to load plugins in the default directory : /usr/lib64/gfal2-plugins/
      GFAL2-INFO:  gfal_plugin loaded succesfully : /usr/lib64/gfal2-plugins//libgfal_plugin_lfc.so
      GFAL2-INFO:     -> load dcap library 
      GFAL2-INFO:   end load dcap library <-
      GFAL2-INFO:  gfal_plugin loaded succesfully : /usr/lib64/gfal2-plugins//libgfal_plugin_dcap.so
      GFAL2-INFO:  gfal_plugin loaded succesfully : /usr/lib64/gfal2-plugins//libgfal_plugin_file.so
      GFAL2-INFO:  gfal_plugin loaded succesfully : /usr/lib64/gfal2-plugins//libgfal_plugin_srm.so
      GFAL2-INFO:  gfal_plugin loaded succesfully : /usr/lib64/gfal2-plugins//libgfal_plugin_gridftp.so
      GFAL2-INFO:  LFC resolution lfn:/grid/testbed.univ.kiev.ua/dc.test.2 -> srm://bunsen.ndgf.org/atlas/disk/motd.002 
      GFAL2-INFO: BDII CACHE_FILE set to /var/lib/fts3/bdii_cache.xml
      GFAL2-INFO: Could not load BDII CACHE_FILE: File was not found
      GFAL2-INFO:   Try to bind with the bdii ldap://lcg-bdii.cern.ch:2170
      GFAL2-INFO: SRM context not available
      GFAL2-INFO: BDII CACHE_FILE set to /var/lib/fts3/bdii_cache.xml
      GFAL2-INFO: Could not load BDII CACHE_FILE: File was not found
      GFAL2-INFO:   Try to bind with the bdii ldap://lcg-bdii.cern.ch:2170
      GFAL2-INFO: SRM context recycled for httpg://bunsen.ndgf.org:8443/srm/managerv2
      GFAL2-INFO: Released file with token -2059751429
      

      Thanks,
      David

        Attachments

          Activity

            People

            Assignee:
            aalvarez Alejandro Alvarez Ayllon (Inactive)
            Reporter:
            dcameron David Cameron
            Component Watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: