Skip to content

Commit 19bc0b5

Browse files
committed
prepend timestamp to verbose logs
1 parent c3a8446 commit 19bc0b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pproxy/verbose.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async def realtime_stat(stats):
4343

4444
def setup(loop, args):
4545
def verbose(s):
46-
if args.v >= 2:
46+
if args.v >= 1:
4747
sys.stdout.write('\x1b[32m'+time.strftime('%Y-%m-%d %H:%M:%S')+'\x1b[m ')
4848
sys.stdout.write(s+'\x1b[0K\n')
4949
else:

0 commit comments

Comments
 (0)