blob: e5de62ee0e585ecefb99f8727b1210e9a673159f [file] [log] [blame]
// Copyright 2021 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.
#include <brillo/syslog_logging.h>
#include "croslog/log_rotator/log_rotator.h"
int main(int argc, char* argv[]) {
// Configure the log destination.
brillo::InitLog(brillo::kLogToSyslog | brillo::kLogToStderrIfTty);
log_rotator::RotateStandardLogFiles();
}