There is an annoying adwantage in metalog since version 0.8_rc1. When metalog is used with console log function, then all messages in logfiles are duplicated. Once there are sent to files as before in old versions. Second time they are sent as information that metalog has called a command to display message in system. It lloks like that: May 4 16:33:36 [kernel] ACPI: PCI Interrupt Link [ALKA] (IRQs 16 17 18 19 20 21 22 23) *11, disabled. May 4 16:33:36 [metalog] Forked command "/usr/sbin/consolelog.sh "May 4 16:33:36" "kernel" "ACPI: PCI Interrupt Link [ALKA] (IRQs 16 17 18 19 20 21 22 23) *11, disabled." [15556]. May 4 16:33:36 [kernel] ACPI: PCI Interrupt Link [ALKB] (IRQs 16 17 18 19 20 21 22 23) *11, disabled. May 4 16:33:36 [metalog] Forked command "/usr/sbin/consolelog.sh "May 4 16:33:36" "kernel" "ACPI: PCI Interrupt Link [ALKB] (IRQs 16 17 18 19 20 21 22 23) *11, disabled." [15557]. May 4 16:33:36 [kernel] ACPI: PCI Interrupt Link [ALKC] (IRQs 22) *11, disabled. May 4 16:33:36 [metalog] Forked command "/usr/sbin/consolelog.sh "May 4 16:33:36" "kernel" "ACPI: PCI Interrupt Link [ALKC] (IRQs 22) *11, disabled." [15558]. May 4 16:33:36 [kernel] ACPI: PCI Interrupt Link [ALKD] (IRQs 21) *11, disabled. May 4 16:33:36 [metalog] Forked command "/usr/sbin/consolelog.sh "May 4 16:33:36" "kernel" "ACPI: PCI Interrupt Link [ALKD] (IRQs 21) *11, disabled." [15559]. May 4 16:33:36 [kernel] ACPI: PCI Interrupt Link [LNKA] (IRQs *11) May 4 16:33:36 [metalog] Forked command "/usr/sbin/consolelog.sh "May 4 16:33:36" "kernel" "ACPI: PCI Interrupt Link [LNKA] (IRQs *11)" [15561]. May 4 16:33:36 [kernel] ACPI: PCI Interrupt Link [LNKB] (IRQs *11) May 4 16:33:36 [metalog] Forked command "/usr/sbin/consolelog.sh "May 4 16:33:36" "kernel" "ACPI: PCI Interrupt Link [LNKB] (IRQs *11)" [15562]. May 4 16:33:36 [kernel] ACPI: PCI Interrupt Link [LNKC] (IRQs *11) May 4 16:33:36 [metalog] Forked command "/usr/sbin/consolelog.sh "May 4 16:33:36" "kernel" "ACPI: PCI Interrupt Link [LNKC] (IRQs *11)" [15564]. May 4 16:33:36 [kernel] ACPI: PCI Interrupt Link [LNKD] (IRQs *11) May 4 16:33:36 [metalog] Forked command "/usr/sbin/consolelog.sh "May 4 16:33:36" "kernel" "ACPI: PCI Interrupt Link [LNKD] (IRQs *11)" [15565]. All the new messages cannot be disabled or switched off. So in my opinion, there should be one of following solutions available: - possibility of disabling of the messages during compilation; - possibility of filtering of these messages via run parameters or config file; - possibility of selection of destination file (or device) for filtered group of messages (instead of directory), and then there will be no echo messages for console log.
if you add this to your metalog.conf, it should help greatly: Metalog : program = "metalog" logdir = "/var/log/metalog" break = 1 the trouble with controlling the command messages on a per-section basis is that the log line for the child exit has no binding to a section ... metalog just knows that a child exited, so our only real option would be a runtime command line option to metalog ... i'll try e-mailing upstream