Skip to content

Commit 11357f5

Browse files
committed
update readme & travis
1 parent 607b5e4 commit 11357f5

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,13 @@ Quick start
4444
::
4545

4646
LOG_VIEWER_FILES = ['logfile1', 'logfile2', ...]
47-
LOG_VIEWER_FILES_PATTERN = 'logfile*'
48-
LOG_VIEWER_FILES_DIR = os.path.join(BASE_DIR, '../logs')
49-
LOG_VIEWER_MAX_READ_LINES = 1000 # total log lines will be read
47+
LOG_VIEWER_FILES_PATTERN = '*.log*'
48+
LOG_VIEWER_FILES_DIR = 'logs/'
5049
LOG_VIEWER_PAGE_LENGTH = 25 # total log lines per-page
50+
LOG_VIEWER_MAX_READ_LINES = 1000 # total log lines will be read
5151
LOG_VIEWER_PATTERNS = ['[INFO]', '[DEBUG]', '[WARNING]', '[ERROR]', '[CRITICAL]']
5252

5353
# Optionally you can set the next variables in order to customize the admin:
54-
5554
LOG_VIEWER_FILE_LIST_TITLE = "Custom title"
5655
LOG_VIEWER_FILE_LIST_STYLES = "/static/css/my-custom.css"
5756

@@ -82,7 +81,7 @@ Quick start
8281
.. |license| image:: https://img.shields.io/badge/license-MIT-green.svg
8382
:target: https://raw.githubusercontent.com/agusmakmun/django-log-viewer/master/LICENSE
8483

85-
.. |build status| image:: https://travis-ci.org/agusmakmun/django-log-viewer.svg?branch=master
86-
:target: https://travis-ci.org/agusmakmun/django-log-viewer
84+
.. |build status| image:: https://img.shields.io/travis/com/agusmakmun/django-log-viewer
85+
:target: https://www.travis-ci.com/github/agusmakmun/django-log-viewer
8786

8887
.. _`PyPI`: https://pypi.python.org/pypi/django-log-viewer

0 commit comments

Comments
 (0)