-
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
83 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
layout: template | ||
title: atvlog | ||
permalink: /documentation/atvlog/ | ||
link_group: documentation | ||
--- | ||
# atvlog | ||
|
||
The `atvlog` script simplifies log inspection by generating an HTML file with basic | ||
live filtering capabilities. | ||
|
||
*Note: This is an incubating script and may change behavior with short notice.* | ||
|
||
## Features | ||
|
||
Log output from the following tools are supported as input: | ||
|
||
* atvremote and atvscript | ||
* Home Assistant log | ||
|
||
A special `markdown` mode is supported, which extracts a log from the following | ||
format: | ||
|
||
~~~ | ||
text here is ignored | ||
```log | ||
log data here | ||
``` | ||
also ignored | ||
~~~ | ||
|
||
Filtering can be performed on the following attributes: | ||
|
||
* Include entries based on regexp | ||
* Exclude entries based on regexp (performed prior to include regexp) | ||
* Log levels | ||
* Date can be stripped for more compact log | ||
|
||
## Examples | ||
|
||
```shell | ||
$ atvlog pyatv.log # Print output to stdout | ||
$ atvlog --output pyatv.html pyatv.log | ||
$ cat pyatv.log | atvlog - # Read from stdin | ||
$ cat markdown.log | atvlog --format=markdown - | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters