Engine/VDSM logging to rsyslog remote server

Hi guys, I'm wondering if someone has a clue how to het the rsyslog logging for VDSM to a remote server. I have tested with the key-words from the logging.conf but this doesn't work out. As there is no logging.conf on the engine, is it possible there at all ? Thanks! Matt

On Sat, Jan 9, 2016 at 10:44 PM, Matt . <yamakasi.014@gmail.com> wrote:
Hi guys,
I'm wondering if someone has a clue how to het the rsyslog logging for VDSM to a remote server. I have tested with the key-words from the logging.conf but this doesn't work out.
There is nothing vdsm specific about adding a logger, you can use python documentation. Can you share the logger.conf that does not work?
As there is no logging.conf on the engine, is it possible there at all ?
Adding Yedidyah. Nir

Hi, What do you mean about the python docs ? I'm not thinking about using nxlog and use the vdsm.log file for it. This can also be done for the engine. Thanks! Matt 2016-01-09 23:07 GMT+01:00 Nir Soffer <nsoffer@redhat.com>:
On Sat, Jan 9, 2016 at 10:44 PM, Matt . <yamakasi.014@gmail.com> wrote:
Hi guys,
I'm wondering if someone has a clue how to het the rsyslog logging for VDSM to a remote server. I have tested with the key-words from the logging.conf but this doesn't work out.
There is nothing vdsm specific about adding a logger, you can use python documentation.
Can you share the logger.conf that does not work?
As there is no logging.conf on the engine, is it possible there at all ?
Adding Yedidyah.
Nir

On Sun, Jan 10, 2016 at 12:21 AM, Matt . <yamakasi.014@gmail.com> wrote:
Hi,
What do you mean about the python docs ?
https://docs.python.org/2/library/logging.config.html#configuration-file-for... You probably need to ass a handler, and assign the handler to the loggers you want to use that handler.
I'm not thinking about using nxlog and use the vdsm.log file for it. This can also be done for the engine.
Thanks!
Matt
2016-01-09 23:07 GMT+01:00 Nir Soffer <nsoffer@redhat.com>:
On Sat, Jan 9, 2016 at 10:44 PM, Matt . <yamakasi.014@gmail.com> wrote:
Hi guys,
I'm wondering if someone has a clue how to het the rsyslog logging for VDSM to a remote server. I have tested with the key-words from the logging.conf but this doesn't work out.
There is nothing vdsm specific about adding a logger, you can use python documentation.
Can you share the logger.conf that does not work?
As there is no logging.conf on the engine, is it possible there at all ?
Adding Yedidyah.
Nir

----- Matt . <yamakasi.014@gmail.com> wrote:
Hi guys,
I'm wondering if someone has a clue how to het the rsyslog logging for VDSM to a remote server. I have tested with the key-words from the logging.conf but this doesn't work out.
As there is no logging.conf on the engine, is it possible there at all ?
Hi, engine logs can be forwarded to remote syslog server using ovirt-engine-extension-logger-log4j. Please install the package, example config file is included. Martin Perina
Thanks!
Matt _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
Martin Perina
-
Matt .
-
Nir Soffer