Add rsyslog config

atrusctl is querying the Atrus device once a minute for status of
different parameters and states. We do not want these messages to fill
up /var/log/messages, and we want them to be easy to grab and send them
as an attachment with a feedback report.

BUG=b:35860447
TEST=Verified that logs are separated to its own file

Change-Id: I94cf5dafd253feefe5a8151a47cdf8a436734516
Signed-off-by: Emil Lundmark <emil@limesaudio.com>
Reviewed-on: https://chromium-review.googlesource.com/450245
Reviewed-by: Dmitry Torokhov <dtor@chromium.org>
1 file changed
tree: fed975ba5d0fedff5de1fbf63229314533dc37c7
  1. .clang-format
  2. .clang-tidy
  3. .gitignore
  4. CMakeLists.txt
  5. LICENSE.md
  6. PRESUBMIT.cfg
  7. README.md
  8. conf/
  9. src/
README.md

atrusctl

This tool is used to interact with an Atrus device.

Requirements

The GNU C Library, libusb 1.0 and libudev are required. GNU C is required because the program utilizes argp.

Building

CMake is used for building the application.

Here is an example of how to build:

$ mkdir build/
$ cd build/
$ cmake ..
$ make

You can also install it on your machine by running:

$ make install

Using

Run the following to see the help section of the application.

$ atrusctl --help

Also, make sure you have read and write access to the USB device. This may be done by, e.g., setting appropriate udev rules.

License

Individual files are tagged with SPDX-License-Identifier to indicate its license instead of including the full license text. See the SPDX License List for more information.