Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
tom
2014-08-26 18:55:38 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1c15dd913a716b35eff43d12a76b6d4788f972b6
1c15dd91
1 parent
b1260e49
Added a watchLog tool
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
tools/dev/watchLog
tools/dev/watchLog
0 → 100755
View file @
1c15dd9
#!/bin/bash
#------------------------------------------------------------------------------
# Continuously watches the Apache Karaf log; survives 'karaf clean'
#------------------------------------------------------------------------------
KARAF_LOG
=
${
KARAF_LOG
:-
~/apache-karaf-3.0.1/data/log/karaf.log
}
while
true
;
do
[
! -f
$KARAF_LOG
]
&&
sleep 2
&&
continue
tail -n 512 -f -F
$KARAF_LOG
done
Please
register
or
login
to post a comment