fedmsg-tail1
Listen to the fedmsg bus and print the received messages
Usage
fedmsg-tail [{--terse | --pretty | --really-pretty | --query
QUERY_STRING}]
[--topic
TOPIC]
[--exclude
REGEXP]
[--include
REGEXP]
[--users
USERS]
[--packages
PACKAGES]
[<common
fedmsg
options>]
fedmsg-tail [{-h | --help}]
Overview
fedmsg-tail connects to all the configured enpoints on the bus, filters the messages according to the filter options, and pretty-prints them to the standard output according to the formatting options.
Options
-
-h, --help -
Print an help message and exit
FILTERING
-
--topic TOPIC -
The topic pattern to listen for. Everything by default.
-
--exclude REGEXP -
Only show topics that do not match the supplied regexp.
-
--include REGEXP -
Only show topics that match the supplied regexp.
-
--users USERS -
A comma-separated list of usernames. Show only the messages related to these users.
-
--packages PACKAGES -
A comma-separated list of packages. Show only the messages related to these packages.
FORMATTING
-
--terse -
Print "english" representations of messages only.
-
--pretty -
Pretty print the JSON messages.
-
--really-pretty -
Extra-pretty print the JSON messages.
-
--query QUERY_STRING -
Displays only message contents matching the QUERY_STRING instead of everything.
Options
-
--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.