Details

    • 9534

    Description

      LLAPI provides logging primitives but these only write on stdout or stderr.

      Userland tools would benefit a lot from a logging API that, despite minimal, would allow them to register a logging callback function.

      LLAPI could maybe provide a couple pre-implemented callbacks for stdout/stderr or syslog.

      Third party products such as Robinhood policy engine could integrate LLAPI log messages as part of their own logs and Lustre tools (such as the HSM posix copytool) could easily log to syslog.

      Attachments

        Activity

          [LU-3692] Versatile LLAPI logging
          pjones Peter Jones added a comment -

          Landed for 2.6

          pjones Peter Jones added a comment - Landed for 2.6

          Here is a straightforward proposal, that has the advantage of being highly compatible with existing code.
          http://review.whamcloud.com/7572

          hdoreau Henri Doreau (Inactive) added a comment - Here is a straightforward proposal, that has the advantage of being highly compatible with existing code. http://review.whamcloud.com/7572
          pjones Peter Jones added a comment -

          Jinshan

          What do you think og this suggestion?

          Peter

          pjones Peter Jones added a comment - Jinshan What do you think og this suggestion? Peter

          People

            jay Jinshan Xiong (Inactive)
            hdoreau Henri Doreau (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: