[openstack-dev] [mistral] how to split mistral log files

SHTILMAN, Tomer (Tomer) tomer.shtilman at nokia.com
Mon Jan 18 16:19:41 UTC 2016

Hi All
I have three linux service file for mistral api, engine and executor
All of them running with different param in the "server" (api/
E.g api is
/usr/bin/mistral-server --config-file=/etc/mistral/mistral.conf --server=api

All of the logs goes to /var/log/mistral/mistral-server.log

I would like to split them into three different logs , without changing the service files themselves
I thought of changing https://github.com/openstack/mistral/blob/master/setup.cfg
And creating three different console scripts
console_scripts =

    mistral-engine = mistral.cmd.launch:main
    mistral-api = mistral.cmd.launch:main
    mistral-executor = mistral.cmd.launch:main

    mistral-db-manage = mistral.db.sqlalchemy.migration.cli:main

will be happy to get your inputs/thoughts


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160118/eee17712/attachment.html>

More information about the OpenStack-dev mailing list