Provided by: python-fedmsg_0.7.1-1_all bug


       fedmsg-logger - Manpages for the fedmsg suite


       usage: debian/tmp/usr/bin/fedmsg-logger [-h] [--io-threads IO_THREADS]

              [--topic-prefix       TOPIC_PREFIX]       [--post-init-sleep       POST_INIT_SLEEP]
              [--config-filename   CONFIG_FILENAME]    [--print-config]    [--timeout    TIMEOUT]
              [--high-water-mark     HIGH_WATER_MARK]     [--linger     ZMQ_LINGER]    [--message
              LOGGER_MESSAGE] [--json-input] [--topic TOPIC] [--modname  MODNAME]  [--cert-prefix

       Emit log messages to the FI bus.

       If  the  fedmsg-relay  service is not running at the address specified in the config, then
       this command will *hang* until that service becomes available.

       If --message is not specified, this command accepts messages from stdin.

       Some examples::

              $ echo '{"a": 1}; | fedmsg-logger --json-input
              $ echo "Hai there." | fedmsg-logger --modname=git --topic=repo.update
              $ fedmsg-logger --message="This is a message."
              $ fedmsg-logger --message='{"a": 1}' --json-input

       Note that the python JSON parser is picky about the format of messages if you're using the
       --json-input  option.   Double-quotes  must  be  on  the "inside" of the string and single
       quotes must be on the outside::

              '{"a": 1}' is good.  "{'a': 1}" is bad.

   optional arguments:
       -h, --help
              show this help message and exit

       --io-threads IO_THREADS
              Number of io threads for 0mq to use

       --topic-prefix TOPIC_PREFIX
              Prefix for the topic of each message sent.

       --post-init-sleep POST_INIT_SLEEP
              Number of seconds to sleep after initializing.

       --config-filename CONFIG_FILENAME
              Config file to use.

              Simply print out the configuration and exit. No action taken.

       --timeout TIMEOUT
              Timeout in seconds for any blocking zmq operations.

       --high-water-mark HIGH_WATER_MARK
              Limit on the number of messages in the queue before blocking.

       --linger ZMQ_LINGER
              Number of milliseconds to wait before timing out connections.

       --message LOGGER_MESSAGE
              The message to send.

              Take each line of input as JSON.

       --topic TOPIC

       --modname MODNAME
              More control over the topic. Think org.fp.MODNAME.TOPIC.

       --cert-prefix CERT_PREFIX
              Specify a different cert from /etc/pki/fedmsg


       The full documentation for fedmsg-logger is maintained as a Texinfo manual.  If  the  info
       and fedmsg-logger programs are properly installed at your site, the command

              info fedmsg-logger

       should give you access to the complete manual.