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

SHTILMAN, Tomer (Tomer) tomer.shtilman at nokia.com
Tue Jan 19 07:05:56 UTC 2016


Thanks 
Not sure that duplicating mistral.conf three times will be the best in this case , will make things very hard to manage


-----Original Message-----
From: EXT Lingxian Kong [mailto:anlin.kong at gmail.com] 
Sent: Tuesday, January 19, 2016 2:29 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [mistral] how to split mistral log files

Hi, Tomer,

If you really want Mistral services to be running on different processes or different servers, I recommend you use different config file respectively, log file path can be configured differently, which can achieve what you said.

On Tue, Jan 19, 2016 at 5:19 AM, SHTILMAN, Tomer (Tomer) <tomer.shtilman at nokia.com> wrote:
>
>
> 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
>
> Thanks
>
> Tomer
>
>
>
>
> ______________________________________________________________________
> ____ OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: 
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



--
Regards!
-----------------------------------
Lingxian Kong

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


More information about the OpenStack-dev mailing list