blob: 901213621fce4beefa38ca71f9ae96e73a6bd06b [file] [log] [blame]
# Copyright 2022 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# For Manatee hypervisor logs:
# - Log all messages to /var/log/hypervisor.log.
# - Don't log them anywhere else.
# - Only log timestamp and message (other fields are fixed).
template(name="TimeAndMessage" type="string"
string="%TIMESTAMP:1:26:date-rfc3339,date-utc%Z %msg::drop-last-lf%\n")
if $programname == 'hypervisor' then -/var/log/hypervisor.log;TimeAndMessage
& stop