Commits

Show all
Author Commit Message Labels Comments Date
Marius Gedminas
Prepare to release v0.3
Tags
v0.3
Marius Gedminas
New configuration option for Logview middleware: tb_formatter. You can now supply a function directly to Logview(stack_formatter=fn).
Marius Gedminas
Give a name to the Dozer memleak thread.
Marius Gedminas
Emit the "PIL is not installed" only if the Dozer middleware is actually used.
Marius Gedminas
Change homepage URL to bitbucket. Drop dependency_links: all those packages are on PyPI. Explicitly promise it works with Python 2.7. I'll add other versions when I can verify that Dozer works there; this'll probably mean I need to add a test suite.
Marius Gedminas
Fix ReStructuredText syntax.
Marius Gedminas
Post-release version bump
Marius Gedminas
Added tag v0.2 for changeset c469c62e2a55
Marius Gedminas
Prepare to release v0.2
Tags
v0.2
Marius Gedminas
Prepare to release v0.2
Marius Gedminas
Prepare to release v0.2.
Marius Gedminas
Make sure log.exception("...") with no exception doesn't crash logview. It used to cause AttributeError: 'NoneType' object has no attribute '__name__' in _logbar_mako line 187.
Marius Gedminas
Interpolate log messages early to avoid incorrect output.
Marius Gedminas
Make sure we HTML-escape everything. There was missing HTML-escaping in the truncated long message case.
Marius Gedminas
Unused imports.
Marius Gedminas
Make the leak tracking thread a daemon thread. This way it won't prevent web servers from quitting on Ctrl-C.
Marius Gedminas
Add a comment describing a small bug: log messages are formatted too late.
Marius Gedminas
Better interaction of logging tracebacks and exception tracebacks.
Marius Gedminas
Show exception information if it's attached to a log message.
Marius Gedminas
Swap the two time columns, this makes more sense to me now.
Marius Gedminas
Show total request time directly on the unexpanded logbar.
Marius Gedminas
Show two kinds of timestamps: since prev log entry, since start of request.
Marius Gedminas
Make it possible to hook in a custom stack formatter for LogView. I owe the world some documentation for this.
Marius Gedminas
Fix issues with Unicode characters breaking page rendering.
Marius Gedminas
Bugfix: logview was unreasonably slow in the presence of may log messages. Turns out the slowdown was in re.sub() with a long replacement string; I rewrote the code to use re.split() instead and now it's fast.
Marius Gedminas
Fix incorrect relative URLs to images in profile.css.
Marius Gedminas
Make it possible to specify cutoff point for culling dot graph nodes. Dozer writes the call graph to a file for each request, in Graphviz .dot format. That graph isn't complete; by default all functions that take less than 0.2 ms to run are hidden. This change makes that cutoff point configurable, e.g. like this in a PasteDeploy .ini file: [filter:profiler] use = egg:Dozer#profile profile_dir = ./profiles/ dot_graph_cutoff = 0.2
Marius Gedminas
Coloring for tracebacks; somewhat hacky. Uses the same syntax as log coloring: traceback.pattern = #rrggbb The intent was to match filename patterns, maybe function names too. The implementation matches arbitrary substrings in the whole File "filename", line 42, in funcname line of source code littany, so be careful.
Marius Gedminas
New settings: keep_tracebacks_limit (default to 20), skip_last_n_frames. The first setting is needed because extracting and rendering every traceback makes things unbearably slow if there are a lot of log messages. To clarify "unbearably": a request with ~500 logging calls takes 1 second. Without a traceback limit it took more than 10 minutes, at which point I gave up and killed the server process. With the traceback limit it once again took about 1 second. The sec…
Marius Gedminas
If keep_tracebacks = yes, show me the code that produced each log message.
  1. Prev
  2. Next