android-input logs are not flushed as soon as they happen
Bug #1470204 reported by
Daniel d'Andrada
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Alberto Aguirre | ||
mir (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
steps:
1- enable android-input logging
eg, by adding "export MIR_SERVER_
2- $ sudo tail -f /var/log/
3- touch the screen
expected outcome:
you see the log lines appearing for the touch events as they happen
actual outcome:
the log file is written after every N bytes of android-input logging take place. So the update happens in chunks and sometimes it stops in the middle of a log entry.
Related branches
lp:~albaguirre/mir/fix-1470204
- PS Jenkins bot (community): Approve (continuous-integration)
- Cemil Azizoglu (community): Approve
- Daniel van Vugt: Approve
-
Diff: 10 lines (+1/-1)1 file modifiedsrc/common/logging/dumb_console_logger.cpp (+1/-1)
Changed in mir: | |
status: | New → In Progress |
assignee: | nobody → Alberto Aguirre (albaguirre) |
milestone: | none → 0.15.0 |
Changed in mir: | |
importance: | Undecided → Medium |
Changed in mir: | |
status: | Fix Committed → Fix Released |
no longer affects: | mir (Ubuntu) |
Changed in mir (Ubuntu): | |
status: | New → Fix Released |
importance: | Undecided → Medium |
To post a comment you must log in.
Remember to fflush()
:)