Changed separator for concatenated mote id and log message for filtering to a space character.

This commit is contained in:
nifi 2010-01-13 15:04:47 +00:00
parent 313f857135
commit 684c91d0fd
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ Filtering is performed on both the Mote and the Data columns.\
<br><br>^[CR]<br><i>logs starting either a C or an R</i>\
<br><br>Hello$<br><i>logs ending with 'Hello'</i>\
<br><br>^ID:[2-5]$<br><i>logs from motes 2 to 5</i>\
<br><br>^ID:[2-5]§Contiki<br><i>logs from motes 2 to 5 starting with 'Contiki'</i>
<br><br>^ID:[2-5] Contiki<br><i>logs from motes 2 to 5 starting with 'Contiki'</i>
se.sics.cooja.plugins.TimeLine = \
<b>Timeline</b>\

View File

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: LogListener.java,v 1.22 2010/01/12 15:42:08 nifi Exp $
* $Id: LogListener.java,v 1.23 2010/01/13 15:04:47 nifi Exp $
*/
package se.sics.cooja.plugins;
@ -146,7 +146,7 @@ public class LogListener extends VisPlugin {
} else if (col == COLUMN_DATA) {
return log.ev.getMessage();
} else if (col == COLUMN_CONCAT) {
return log.strID + '§' + log.ev.getMessage();
return log.strID + ' ' + log.ev.getMessage();
}
return null;
}