61d75f587d
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.
40 lines
890 B
HTML
40 lines
890 B
HTML
<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>
|