FAQ
remove whitespace from log entries

Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/1edcd9ee
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/1edcd9ee
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/1edcd9ee

Branch: refs/heads/fauxton
Commit: 1edcd9ee3b75c1530bf1c5498d1dafb566f5cb5c
Parents: 11f321f
Author: Simon Metson <simon+github@cloudant.com>
Authored: Fri Jan 25 14:14:30 2013 +0100
Committer: Simon Metson <simon+github@cloudant.com>
Committed: Sat Jan 26 13:27:30 2013 +0100

----------------------------------------------------------------------
.../app/addons/logs/templates/dashboard.html | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/1edcd9ee/src/fauxton/app/addons/logs/templates/dashboard.html
----------------------------------------------------------------------
diff --git a/src/fauxton/app/addons/logs/templates/dashboard.html b/src/fauxton/app/addons/logs/templates/dashboard.html
index 955c75c..dddad9a 100644
--- a/src/fauxton/app/addons/logs/templates/dashboard.html
+++ b/src/fauxton/app/addons/logs/templates/dashboard.html
@@ -13,16 +13,16 @@
<% _.each(logs, function (log) { %>
<tr class="<%= log.log_level %>">
<td>
- <%= log.date %>
+ <%= log.date.replace(/ /g,'') %>
</td>
<td>
- <%= log.log_level %>
+ <%= log.log_level.replace(/ /g,'') %>
</td>
<td>
- <%= log.pid %>
+ <%= _.escape(log.pid) %>
</td>
<td>
- <%= log.args %>
+ <%= _.escape(log.args) %>
</td>
</tr>
<% }); %>

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categoriescouchdb
postedFeb 11, '13 at 11:12a
activeFeb 11, '13 at 11:12a
posts1
users1
websitecouchdb.apache.org
irc#couchdb

1 user in discussion

Jan: 1 post

People

Translate

site design / logo © 2021 Grokbase