Provided by: python-fedmsg_0.7.1-1_all 

NAME
fedmsg-logger - Manpages for the fedmsg suite
DESCRIPTION
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 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.
--print-config
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.
--json-input
Take each line of input as JSON.
--topic TOPIC
Think org.fedoraproject.dev.logger.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
SEE ALSO
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.
fedmsg-logger 0.7.1 October 2013 FEDMSG-LOGGER(1)