Skip to content

Commit 2ca1ce6

Browse files
committed
minor logging
1 parent 7fdd9e2 commit 2ca1ce6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

run_ontime.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ $PYTHON main.py ${*:1} \
1010
--src-wait \
1111
--nice-pause=1 \
1212
--log-level=info \
13+
--log-file=ontime.log \
1314
--src-host=127.0.0.1 \
1415
--src-user=root \
1516
--dst-host=127.0.0.1 \

src/writer/chcsvwriter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def insert(self, event_or_events=None):
5858
sql,
5959
)
6060

61-
# print('running:', bash)
61+
logging.info('starting %s', bash)
6262
os.system(bash)
6363

6464
pass

0 commit comments

Comments
 (0)