Score:1

keepalived with --log-file doesnt work

eg flag

I have keepalived 2.0.19 running in Ubuntu 20.04.

Trying to add the --log-file= option to DAEMON_ARGS in /etc/default/keepalived results in this.

keepalived[454603]: -g requires configure option --enable-log-file

But if i also add --enable-log-file i get this (too)

keepalived[454603]: Unknown option --enable-log-file

The man-page doesnt mention --enable-log-file. And if i look at output of 'keepalived --help' it actually doesnt mention either of those options:)

Has anyone used logging (directly) to file in v2.0.x ?

Score:1
in flag

I guess you are using upstream version of keepalived, this option is disabled by default as ChangeLog shows https://github.com/acassen/keepalived/blob/master/ChangeLog#L1793 take a look on https://github.com/acassen/keepalived/blob/master/configure.ac#L265

What you can do it is build keepalived from source with

./configure --enable-log-file

Hope this will help.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.