aboutsummaryrefslogtreecommitdiff
path: root/tools/clean_webconsole.py
blob: 56bd9e2bfa6c76b36a21bda5ad1f1d92aca36f75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
'''
Removes timestamp and line info from a webgl log
'''

import os, sys

lines = sys.stdin.read().split('\n')

for line in lines:
  if line.startswith('['):
    line = line[15:]
  line = line.split(' @ ')[0]
  print line

for i in range(100):
  print