Log wiki fedmsg messages to a file (temporarily, for debugging).
This commit is contained in:
parent
8cb065a803
commit
1926f2019a
1 changed files with 1 additions and 0 deletions
|
@ -184,6 +184,7 @@ function emit_message($subtopic, $message) {
|
|||
}
|
||||
|
||||
$envelope = json_encode($message_obj);
|
||||
wfErrorLog($envelope, '/var/tmp/wiki-fedmsg-messages.log' );
|
||||
$queue->send($topic, ZMQ::MODE_SNDMORE);
|
||||
$queue->send($envelope);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue