Comments (6)
ok thanks @ashok-rai, seems your logs not using double [
and ]
to present the log format:
https://github.com/agusmakmun/django-log-viewer/blob/master/log_viewer_demo/log_viewer_demo/logger.py#L17
"[%(levelname)s] %(asctime)s %(name)s: %(message)s"
/|\ /|\
to remember that we have pattern in settings as well:
LOG_VIEWER_PATTERNS = ['[INFO]', '[DEBUG]', '[WARNING]', '[ERROR]', '[CRITICAL]']
so, you need to make sure both setup are corrects.
from django-log-viewer.
Thank you @agusmakmun, this solves the issues.Now, it is working as expected.
from django-log-viewer.
Hello @zszep for reporting this issue, seems like happen because of "Not Found" exclude.
meanwhile, I modify that exclude to the settings, but by default is None
;
LOG_VIEWER_EXCLUDE_TEXT_PATTERN = None # String regex expression to exclude the log from line
can you please upgrade your package which following this command:
pip install django-log-viewer --upgrade
Please tell us what happen after doing upgrade, is it resolved the issue or not.
cc @tulgaab, @ananasn, @Radialmed, @ashok-rai, @jamol1741
from django-log-viewer.
No, It has not changed the log entries in the new iterable row as displayed in the documentation.
@agusmakmun, Is there any extra setup that we are missing to make the log entries in new lines as shown in the image
from django-log-viewer.
@ashok-rai can you show me the screenshot of your logs? or you can paste the plain of logs here, so I can identify.
from django-log-viewer.
And, this is the log_viewer UI which doesnot show the log entries with each new lines in the log file
from django-log-viewer.
Related Issues (20)
- LOG FILES need paging and search form HOT 1
- need html escape
- Help with LOG_VIEWER_PATTERNS HOT 5
- Not seeing log files with daphne and nginx combination HOT 1
- Create filter by LOGLEVEL HOT 1
- Base url cannot be resolved after upgrading to Django 3.x / authentication HOT 1
- Package for Version 1.1.3 missing at Pypi HOT 3
- Module "log_viewer" not found when installing version 1.1.3 HOT 1
- Log cannot branch HOT 2
- Log entries need format with new lines and indentation
- View logs from a remote machine or S3 object HOT 1
- LOG_VIEWER_FILES setting not working as intended HOT 1
- Need help in using regex with LOG_VIEWER_PATTERNS HOT 2
- Multiple log directories support
- Page is really hard to use with dark mode HOT 1
- Sub folder is not considered HOT 1
- LOG_VIEWER_PAGE_LENGTH setting doesn't work
- Page Refresh gives the following error
- Non-ascii characters parse incorrectly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-log-viewer.