Skip to content

Commit

Permalink
Updated tailon to 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sago007 committed Nov 1, 2016
1 parent 461dd4e commit 3f1c32c
Show file tree
Hide file tree
Showing 89 changed files with 305 additions and 153 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ RUN apk add --no-cache python py-pip grep gawk
RUN mkdir /tailon
COPY run.sh /tailon/run.sh
RUN chmod +x /tailon/run.sh
COPY tailon-1.0.0 /tailon/tailon-1.0.0
RUN pip install /tailon/tailon-1.0.0
COPY tailon-1.1.1 /tailon/tailon-1.1.1
RUN pip install /tailon/tailon-1.1.1

VOLUME ["/data"]

Expand Down
11 changes: 0 additions & 11 deletions tailon-1.0.0/config.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions tailon-1.0.0/docs/changelog.rst

This file was deleted.

1 change: 0 additions & 1 deletion tailon-1.0.0/tailon/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion tailon-1.0.0/tailon/assets/gen/Main.js.map

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions tailon-1.1.1/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
bind: 0.0.0.0:8080 # address and port to bind on
allow-transfers: true # allow log file downloads
follow-names: false # allow tailing of not-yet-existent files
relative-root: /tailon # web app root path (default: '')
commands: [tail, grep] # allowed commands
tail-lines: 10 # number of lines to tail initially
wrap-lines: true # initial line-wrapping state

files:
- '/var/log/messages'
- '/var/log/nginx/*.log'
- '/var/log/xorg.[0-10].log'
- '/var/log/nginx/' # all files in this directory
- 'cron': # it's possible to add sub-sections
- '/var/log/cron*'
File renamed without changes.
File renamed without changes
33 changes: 33 additions & 0 deletions tailon-1.1.1/docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Changelog
---------

1.1.0 (Sep 17, 2016)
====================

- Add the ability to set the initial file, command and command script through
the query string. For example:

http://localhost:8081/?file=logs/nginx/error.log&cmd=grep&script=GET

If a file or command does not exist, tailon will use the first in the list
(which is the default behavior).

- Add the ``-F/--follow-names`` command-line switch and the ``follow-names``
config file option. This option instructs tailon to tail files which do not
exist yet. It is equivalent to running ``tail -F`` instead of the ``tail -f``.

- Fix ``tail-lines`` not being read from the configuration file.

1.0.0 (Sep 10, 2016)
====================

- Split wtee_ into a separate project.


0.1.0 - 0.6.0
=============

- Older versions for which a changelog was not kept.


.. _wtee: https://github.com/gvalkov/wtee
2 changes: 1 addition & 1 deletion tailon-1.0.0/docs/conf.py → tailon-1.1.1/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
project = u'tailon'
copyright = u'2013-2016, Georgi Valkov'

release = '1.0.0'
release = '1.1.1'
version = release

exclude_patterns = ['_build']
Expand Down
File renamed without changes.
File renamed without changes
6 changes: 5 additions & 1 deletion tailon-1.0.0/docs/index.rst → tailon-1.1.1/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ Tailon's server-side functionality is summarized entirely in its help message::

Usage: tailon [-c path] [-f path [path ...]] [-h] [-d] [-v]
[--output-encoding enc] [--input-encoding enc] [-b addr:port]
[-r path] [-a] [-t num] [-m [cmd [cmd ...]]] [--no-wrap-lines]
[-r path] [-a] [-f] [-t num] [-m [cmd [cmd ...]]]
[--no-wrap-lines]

Tailon is a web app for looking at and searching through log files.

Expand All @@ -94,6 +95,7 @@ Tailon's server-side functionality is summarized entirely in its help message::
-b, --bind addr:port listen on the specified address and port
-r, --relative-root path web app root path
-a, --allow-transfers allow log file downloads
-F, --follow-names allow tailing of not-yet-existent files
-t, --tail-lines num number of lines to tail initially
-m, --commands [cmd [cmd ...]] allowed commands (default: tail grep awk)

Expand All @@ -103,6 +105,7 @@ Tailon's server-side functionality is summarized entirely in its help message::
Example config file:
bind: 0.0.0.0:8080 # address and port to bind on
allow-transfers: true # allow log file downloads
follow-names: false # allow tailing of not-yet-existent files
relative-root: /tailon # web app root path (default: '')
commands: [tail, grep] # allowed commands
tail-lines: 10 # number of lines to tail initially
Expand All @@ -122,6 +125,7 @@ Tailon's server-side functionality is summarized entirely in its help message::
tailon -f /var/log/
tailon -c config.yaml -d


Please note that if the file list includes wildcard characters, they
will be expanded only once at server-start time.

Expand Down
File renamed without changes
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tailon-1.0.0/setup.cfg → tailon-1.1.1/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.0.0
current_version = 1.1.1
message = Bump version: {current_version} -> {new_version}
commit = True
tag = True
Expand Down
2 changes: 1 addition & 1 deletion tailon-1.0.0/setup.py → tailon-1.1.1/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

kw = {
'name': 'tailon',
'version': '1.0.0',
'version': '1.1.1',
'description': 'Webapp for looking at and searching through log files',
'long_description': open('README.rst').read(),
'author': 'Georgi Valkov',
Expand Down
1 change: 1 addition & 0 deletions tailon-1.1.1/tailon/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '1.1.1'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions tailon-1.1.1/tailon/assets/gen/Main.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 3f1c32c

Please sign in to comment.