aboutsummaryrefslogtreecommitdiff
path: root/test/functional/combined_log_template.html
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-02-24 16:42:04 -0500
committerJohn Newbery <john@johnnewbery.com>2017-03-21 17:30:13 -0400
commit61d75f587de504310c07216c4755cd206e31dc09 (patch)
treef5794f8fb0c0a252586a9c171a1273c3e735e9dc /test/functional/combined_log_template.html
parent919aaf6508557439ab859c25dae86998a9bed12f (diff)
Introduce combine_logs.py to combine log files from multiple bitcoinds.
This commit adds a tool for combining log files from multiple instances of bitcoinds as well as the test_framework.log file. This gives a combined view of what the test framework and all bitcoin instances were doing during a qa test.
Diffstat (limited to 'test/functional/combined_log_template.html')
-rw-r--r--test/functional/combined_log_template.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/test/functional/combined_log_template.html b/test/functional/combined_log_template.html
new file mode 100644
index 0000000000..c0b854b080
--- /dev/null
+++ b/test/functional/combined_log_template.html
@@ -0,0 +1,40 @@
+<html lang="en">
+<head>
+ <title> {{ title }} </title>
+ <style>
+ ul {
+ list-style-type: none;
+ font-family: monospace;
+ }
+ li {
+ border: 1px solid slategray;
+ margin-bottom: 1px;
+ }
+ li:hover {
+ filter: brightness(85%);
+ }
+ li.log-test {
+ background-color: cyan;
+ }
+ li.log-node0 {
+ background-color: lightblue;
+ }
+ li.log-node1 {
+ background-color: lightgreen;
+ }
+ li.log-node2 {
+ background-color: lightsalmon;
+ }
+ li.log-node3 {
+ background-color: lightyellow;
+ }
+ </style>
+</head>
+<body>
+<ul>
+{% for event in log_events %}
+<li class="log-{{ event.source }}"> {{ event.source }} {{ event.timestamp }} {{event.event}}</li>
+{% endfor %}
+</ul>
+</body>
+</html>